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:
Ruslan Ermilov
2005-11-10 21:03:58 +00:00
parent cdf98ad3e7
commit 3a30b28fe9
+2 -2
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>