From 0850e5080b3bfc2f34cc3945bf7d28f9185e7b4a Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 7 Jan 2009 19:04:36 +0000 Subject: [PATCH] Makefile: Put default rule before local makefile. Otherwise rules in local.mk become the default. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -------------------------------------------------- -- 2.11.0