Make the "machine" target a prequisite to all source files.

Hinted-at by: bde
This commit is contained in:
Daniel C. Sobral 1999-10-19 03:53:59 +00:00
parent 47d5572a3f
commit 33ebc8c952

View File

@ -25,6 +25,10 @@ CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
# Include simple terminal emulation (cons25-compatible)
CFLAGS+= -DTERM_EMU
# Make "machine" required for all objects
# (based on the more complete case in sys/i386/boot/Makefile.inc)
${SRCS:M*.c:R:S/$/.o/g}: machine
# If it's not there, don't consider it a target
.if exists(${.CURDIR}/../../../i386/include)
beforedepend ${OBJS}: machine