X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/bfdc045deb6149808d309b4ac3c292d9c57a8b38..b0da89bbed3f5c116bc6aaeace6e777638d531d2:/Makefile diff --git a/Makefile b/Makefile index 04c9a4a..3780854 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ MAIN_M4_SOURCES = HOSTS = +default: all +.PHONY: default + ###-------------------------------------------------------------------------- ### Local configuration. @@ -35,6 +38,7 @@ TARGETS = $(addsuffix .sh,$(HOSTS)) ### Building. all: $(TARGETS) +.PHONY: all %.sh: %.m4 $(M4_SOURCES) m4 -P base.m4 $*.m4 $(MAIN_M4_SOURCES) >$@.new @@ -42,5 +46,6 @@ all: $(TARGETS) mv $@.new $@ clean:; rm -f $(TARGETS) *.new +.PHONY: clean ###----- That's all, folks --------------------------------------------------