From: Erik van der Kouwe Date: Sun, 29 Aug 2010 17:50:51 +0000 (+0000) Subject: Touch generated files to avoid dependency generation warnings and missing dependencies X-Git-Tag: v3.1.8~39 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-verify.html?a=commitdiff_plain;h=a37514163b3b4d0ea66ccc57fa3e6837b00d321f;p=minix.git Touch generated files to avoid dependency generation warnings and missing dependencies --- diff --git a/commands/advent/Makefile b/commands/advent/Makefile index ef38c5d2d..7d843623d 100644 --- a/commands/advent/Makefile +++ b/commands/advent/Makefile @@ -21,8 +21,14 @@ advtext.h advent1.dat advent2.dat advent3.dat advent4.dat: \ setup advent1.txt advent2.txt advent3.txt advent4.txt ./setup ${.CURDIR} +database.d: touch-genfiles + +touch-genfiles: + [ -e advtext.h ] || touch -t 197001010000.00 advtext.h + CPPFLAGS.advent.c= -DTEXTDIR='"${TEXTDIR}"' CLEANFILES+= ${DATFILES} advtext.h setup .include + diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile index fa9089452..7372f6514 100644 --- a/drivers/memory/Makefile +++ b/drivers/memory/Makefile @@ -15,6 +15,9 @@ INSTALLFLAGS+= -S 8k CPPFLAGS.memory.c+= -I${MINIXSRCDIR} CPPFLAGS.imgrd.c+= -I${.CURDIR}/../ramdisk -T /usr/tmp -imgrd.o: ${.CURDIR}/../ramdisk/image.c +imgrd.d: touch-genfiles + +touch-genfiles: + [ -e ${.CURDIR}/../ramdisk/image.c ] || touch -t 197001010000.00 ${.CURDIR}/../ramdisk/image.c .include