diff options
author | Haru <haru@dotalux.com> | 2013-09-22 10:20:44 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-09-22 10:22:13 +0200 |
commit | 233453c7d2e256aece37ece349fe4890cdeb4586 (patch) | |
tree | 627aa73a9d422f6a473a9e286e813c3b8336f35e /src/tool/Makefile.in | |
parent | 469102135fd5429a4225afe378bed3e82dc81d31 (diff) | |
download | hercules-233453c7d2e256aece37ece349fe4890cdeb4586.tar.gz hercules-233453c7d2e256aece37ece349fe4890cdeb4586.tar.bz2 hercules-233453c7d2e256aece37ece349fe4890cdeb4586.tar.xz hercules-233453c7d2e256aece37ece349fe4890cdeb4586.zip |
Changed Makefiles to avoid rebuilding targets if nothing was modified
To force a rebuild, it's still possible to use the -B flag of make, or
just run make clean beforehand.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/tool/Makefile.in')
-rw-r--r-- | src/tool/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tool/Makefile.in b/src/tool/Makefile.in index 4f9dc7590..baf4a0327 100644 --- a/src/tool/Makefile.in +++ b/src/tool/Makefile.in @@ -26,8 +26,10 @@ export CC all: mapcache Makefile -mapcache: $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) Makefile - @echo " LD $@" +mapcache: ../../mapcache@EXEEXT@ + +../../mapcache@EXEEXT@: $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) Makefile + @echo " LD $(notdir $@)" @$(CC) @LDFLAGS@ $(LIBCONFIG_INCLUDE) -o ../../mapcache@EXEEXT@ $(MAPCACHE_OBJ) $(COMMON_OBJ) $(LIBCONFIG_OBJ) @LIBS@ clean: |