Update BSDMakefile to force build of targets

.DEFAULT or .DONE cannot be set as .PHONY so this hack was required.

(cherry picked from commit 40a90f1b2f)
This commit is contained in:
Mahmoud Al-Qudsi
2017-10-12 12:45:10 -05:00
parent 03366333b2
commit 30a74dcf2d

View File

@@ -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