buildsystem: use dependall target

Improves cache locality by grouping together dependency generation
with building for each program instead of doing a whole-tree dep
generation phase followed by a whole-tree build phase
This commit is contained in:
Arun Thomas
2011-07-19 15:26:25 +02:00
parent b1408f61b4
commit 5df8be8e7a
4 changed files with 13 additions and 19 deletions

View File

@@ -23,7 +23,7 @@ CLEANFILES += $(PROGRAMS) $(SCRIPTS) $(EXTRA) bintoc image image.c t proto.gen
install: all
all: image.c
realall: image.c
image.c: bintoc image
./bintoc -o $@ image