summaryrefslogtreecommitdiff
path: root/src/login
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/login
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/login')
-rw-r--r--src/login/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/login/Makefile.in b/src/login/Makefile.in
index 681eb5e6f..b6b70a495 100644
--- a/src/login/Makefile.in
+++ b/src/login/Makefile.in
@@ -65,8 +65,10 @@ obj_sql:
# executables
-login-server: $(LOGIN_SERVER_SQL_DEPENDS) Makefile
- @echo " LD $@"
+login-server: ../../login-server@EXEEXT@
+
+../../login-server@EXEEXT@: $(LOGIN_SERVER_SQL_DEPENDS) Makefile
+ @echo " LD $(notdir $@)"
@$(CC) @LDFLAGS@ -o ../../login-server@EXEEXT@ $(LOGIN_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@
# login object files