From beaf3a26a60d5b0429a577b7d58232957d4483e7 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 21 Sep 2013 20:03:52 +0200 Subject: Added Makefile.in change detection (and auto-rebuild) capabilities - If a Makefile.in is changed, ./config.status (or ./configure in case it's not available) will be automatically run to update the Makefiles. - Special thanks to Yommy for the idea. Signed-off-by: Haru --- src/tool/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/tool/Makefile.in') diff --git a/src/tool/Makefile.in b/src/tool/Makefile.in index 4fa527ffc..4f9dc7590 100644 --- a/src/tool/Makefile.in +++ b/src/tool/Makefile.in @@ -24,9 +24,9 @@ export CC ##################################################################### .PHONY: all mapcache clean help -all: mapcache +all: mapcache Makefile -mapcache: $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) +mapcache: $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) Makefile @echo " LD $@" @$(CC) @LDFLAGS@ $(LIBCONFIG_INCLUDE) -o ../../mapcache@EXEEXT@ $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @@ -43,6 +43,9 @@ help: ##################################################################### +Makefile: Makefile.in + @$(MAKE) -C ../.. src/tool/Makefile + obj_all: @echo " MKDIR obj_all" @-mkdir obj_all -- cgit v1.2.3-70-g09d2