Touch init.c after making it in case mkinit refused to touch it after not
changing it. mkinit's attempted smartness about timestamps is mismatched with the makefile. init.o is compiled _twice_ the first time it is made...
This commit is contained in:
parent
85171386d8
commit
d2fde8ffe5
@ -24,6 +24,7 @@ builtins.h builtins.c: ${.CURDIR}/mkbuiltins ${.CURDIR}/builtins
|
||||
|
||||
init.c: mkinit ${SRCS}
|
||||
./mkinit '${CC} -c ${CFLAGS} ${LDFLAGS} init.c' ${.ALLSRC}
|
||||
touch ${.TARGET}
|
||||
|
||||
mkinit: ${.CURDIR}/mkinit.c
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${.CURDIR}/mkinit.c -o $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user