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

@@ -13,9 +13,4 @@ INSTALLFLAGS+= -S 8k
CPPFLAGS.memory.c+= -I${MINIXSRCDIR}
CPPFLAGS.imgrd.c+= -I${.CURDIR}/../ramdisk -T /usr/tmp
imgrd.d: touch-genfiles
touch-genfiles:
[ -e ${.CURDIR}/../ramdisk/image.c ] || touch -t 197001010000.00 ${.CURDIR}/../ramdisk/image.c
.include <minix.bootprog.mk>