From 233453c7d2e256aece37ece349fe4890cdeb4586 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 22 Sep 2013 10:20:44 +0200 Subject: 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 --- src/login/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/login') 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 -- cgit v1.2.3-70-g09d2