From 30a74dcf2d6d2ff4bd0edfe458089ab363020a8f Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Thu, 12 Oct 2017 12:45:10 -0500 Subject: [PATCH] Update BSDMakefile to force build of targets .DEFAULT or .DONE cannot be set as .PHONY so this hack was required. (cherry picked from commit 40a90f1b2f8053b345d0c0475c350a235949768d) --- BSDmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BSDmakefile b/BSDmakefile index c85ec00fc..ce389da0c 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -7,6 +7,10 @@ JARG = -j$(.MAKE.JOBS) #by default bmake will cd into ./obj first .OBJDIR: ./ +.PHONY: FRC +$(.TARGETS): FRC + $(GMAKE) $(.TARGETS:S,.DONE,,) $(JARG) + .DONE .DEFAULT: .SILENT $(GMAKE) $(.TARGETS:S,.DONE,,) $(JARG) @@ -14,4 +18,3 @@ JARG = -j$(.MAKE.JOBS) if ! which $(GMAKE) > /dev/null; then \ echo "GNU Make is required!"; \ fi -