build: Simplify makefile
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Sun, 6 Jan 2013 21:01:09 +0000 (15:01 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Sun, 6 Jan 2013 21:02:25 +0000 (15:02 -0600)
commit9d282a47343e4101c394c7e8a77ef2d7cb64a931
tree00b3eb7f1e26dbb8c5f0326546eb3da63ce8fe4e
parent2b421d0ecf9ec717a6864da01a071d3c9bfeec7e
build: Simplify makefile

Don't declare each target in several places (build, clean, install, .PHONY,
etc). This is error-prone.

Declare a all targets in one variable, TARGETS, and work with $(TARGETS) instead
of hardcoded target names throughout the makefile.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Makefile