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/char/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/char/Makefile.in')
-rw-r--r-- | src/char/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/char/Makefile.in b/src/char/Makefile.in index e22d3f5a5..02759b32e 100644 --- a/src/char/Makefile.in +++ b/src/char/Makefile.in @@ -68,8 +68,10 @@ obj_sql: # executables -char-server: $(CHAR_SERVER_SQL_DEPENDS) Makefile - @echo " LD $@" +char-server: ../../char-server@EXEEXT@ + +../../char-server@EXEEXT@: $(CHAR_SERVER_SQL_DEPENDS) Makefile + @echo " LD $(notdir $@)" @$(CC) @LDFLAGS@ -o ../../char-server@EXEEXT@ $(CHAR_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@ # char object files |