chiark / gitweb /
subdirmk/generate: Make `FORCE-ALWAYS-RUN' be `.PHONY'
authorMark Wooding <mdw@distorted.org.uk>
Wed, 13 Nov 2019 19:24:41 +0000 (19:24 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 13 Nov 2019 19:29:59 +0000 (19:29 +0000)
Otherwise `touch FORCE-ALWAYS-RUN' stops your build from working, which
seems a shame, even though nobody should ever want to do this.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
subdirmk/generate

index fbf07d4..7fc3809 100755 (executable)
@@ -104,6 +104,7 @@ default: all
 Makefile FORCE-ALWAYS-RUN:
        \$(MAKE) -C $cd -f main.mk \$(addprefix ${dir_prefix},\$(or \$(MAKECMDGOALS),all))
 .SUFFIXES:
+.PHONY:        FORCE-ALWAYS-RUN
 END
 }