summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-22 10:20:44 +0200
committerHaru <haru@dotalux.com>2013-09-22 10:22:13 +0200
commit233453c7d2e256aece37ece349fe4890cdeb4586 (patch)
tree627aa73a9d422f6a473a9e286e813c3b8336f35e /src/map
parent469102135fd5429a4225afe378bed3e82dc81d31 (diff)
downloadhercules-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/map')
-rw-r--r--src/map/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/Makefile.in b/src/map/Makefile.in
index f7e178667..fb78d51a1 100644
--- a/src/map/Makefile.in
+++ b/src/map/Makefile.in
@@ -81,8 +81,10 @@ obj_sql:
# executables
-map-server: $(MAP_SERVER_SQL_DEPENDS) Makefile
- @echo " LD $@"
+map-server: ../../map-server@EXEEXT@
+
+../../map-server@EXEEXT@: $(MAP_SERVER_SQL_DEPENDS) Makefile
+ @echo " LD $(notdir $@)"
@$(CC) @LDFLAGS@ -o ../../map-server@EXEEXT@ $(MAP_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @PCRE_LIBS@ @MYSQL_LIBS@
# map object files