Apply the .PHONY attribute to the ../make*/make* targets. This

causes them to be recreated (if needed) early, when doing "make
depend" here, before generating headers that depend on them.
This should fix breakages often seen while doing incremental
(NO_CLEAN) cross-builds.
This commit is contained in:
ru 2005-11-10 21:03:58 +00:00
parent 3e42392551
commit e6c93861cb

View File

@ -31,13 +31,13 @@ CLEANFILES= print_version.h roken.h
print_version.h: ../make-print-version/make-print-version
../make-print-version/make-print-version ${.TARGET}
../make-print-version/make-print-version:
../make-print-version/make-print-version: .PHONY
cd ${.CURDIR}/../make-print-version && ${MAKE}
roken.h: ../make-roken/make-roken
../make-roken/make-roken > ${.TARGET}
../make-roken/make-roken:
../make-roken/make-roken: .PHONY
cd ${.CURDIR}/../make-roken && ${MAKE}
.include <bsd.prog.mk>