Update BSDMakefile to force build of targets

.DEFAULT or .DONE cannot be set as .PHONY so this hack was required.
This commit is contained in:
Mahmoud Al-Qudsi 2017-10-12 12:45:10 -05:00
parent 649e244092
commit 40a90f1b2f

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