diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/Makefile | 4 | ||||
-rw-r--r-- | src/char_sql/Makefile | 3 | ||||
-rw-r--r-- | src/login/Makefile | 3 | ||||
-rw-r--r-- | src/login_sql/Makefile | 3 | ||||
-rw-r--r-- | src/map/Makefile | 6 |
5 files changed, 6 insertions, 13 deletions
diff --git a/src/char/Makefile b/src/char/Makefile index 740d2608f..877f83c5a 100644 --- a/src/char/Makefile +++ b/src/char/Makefile @@ -4,9 +4,7 @@ txt: char-server COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o ../common/lock.o ../common/malloc.o ../common/showmsg.o ../common/strlib.o COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/db.h ../common/lock.h ../common/timer.h ../common/malloc.h ../common/showmsg.h ../common/strlib.h char-server: char.o inter.o int_party.o int_guild.o int_storage.o int_pet.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) $> - cp ../../$@-$(SVN_VERSION) ../../$@ - + $(CC) -o ../../$@ $> char.o: char.c char.h inter.h int_pet.h $(COMMON_H) ../common/version.h inter.o: inter.c inter.h int_party.h int_guild.h int_storage.h int_pet.h char.h $(COMMON_H) diff --git a/src/char_sql/Makefile b/src/char_sql/Makefile index 10d08e2a9..e206dd211 100644 --- a/src/char_sql/Makefile +++ b/src/char_sql/Makefile @@ -5,8 +5,7 @@ COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db. COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/db.h ../common/malloc.h ../common/showmsg.h ../common/utils.h ../common/strlib.h char-server_sql: char.o inter.o int_party.o int_guild.o int_storage.o int_pet.o itemdb.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) $^ $(LIB_S) - cp ../../$@-$(SVN_VERSION) ../../$@ + $(CC) -o ../../$@ $^ $(LIB_S) char.o: char.c char.h ../common/strlib.h itemdb.h ../common/showmsg.h inter.o: inter.c inter.h int_party.h int_guild.h int_storage.h int_pet.h ../common/mmo.h char.h ../common/socket.h ../common/showmsg.h diff --git a/src/login/Makefile b/src/login/Makefile index ef3907161..191a015cb 100644 --- a/src/login/Makefile +++ b/src/login/Makefile @@ -5,8 +5,7 @@ COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db. COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/version.h ../common/db.h ../common/lock.h ../common/malloc.h ../common/showmsg.h ../common/strlib.h login-server: login.o md5calc.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) login.o md5calc.o $(COMMON_OBJ) - cp ../../$@-$(SVN_VERSION) ../../$@ + $(CC) -o ../../$@ login.o md5calc.o $(COMMON_OBJ) login.o: login.c login.h md5calc.h $(COMMON_H) md5calc.o: md5calc.c md5calc.h diff --git a/src/login_sql/Makefile b/src/login_sql/Makefile index 933acc0ee..18b023fe6 100644 --- a/src/login_sql/Makefile +++ b/src/login_sql/Makefile @@ -6,8 +6,7 @@ COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db. COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/version.h ../common/db.h ../common/malloc.h ../common/showmsg.h ../common/strlib.h login-server_sql: login.o md5calc.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) $^ $(LIB_S) - cp ../../$@-$(SVN_VERSION) ../../$@ + $(CC) -o ../../$@ $^ $(LIB_S) login.o: login.c login.h md5calc.h $(COMMON_H) md5calc.o: md5calc.c md5calc.h diff --git a/src/map/Makefile b/src/map/Makefile index 6ac47838c..0dddf6132 100644 --- a/src/map/Makefile +++ b/src/map/Makefile @@ -14,12 +14,10 @@ COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/grf LIBS = -lz -lm map-server: txtobj/map.o txtobj/chrif.o txtobj/clif.o txtobj/pc.o txtobj/npc.o txtobj/chat.o txtobj/path.o txtobj/itemdb.o txtobj/mob.o txtobj/script.o txtobj/storage.o txtobj/skill.o txtobj/atcommand.o txtobj/charcommand.o txtobj/battle.o txtobj/intif.o txtobj/trade.o txtobj/party.o txtobj/vending.o txtobj/guild.o txtobj/pet.o txtobj/log.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) $> $(LIBS) - cp ../../$@-$(SVN_VERSION) ../../$@ + $(CC) -o ../../$@ $> $(LIBS) map-server_sql: sqlobj/map.o sqlobj/chrif.o sqlobj/clif.o sqlobj/pc.o sqlobj/npc.o sqlobj/chat.o sqlobj/path.o sqlobj/itemdb.o sqlobj/mob.o sqlobj/script.o sqlobj/storage.o sqlobj/skill.o sqlobj/atcommand.o sqlobj/charcommand.o sqlobj/battle.o sqlobj/intif.o sqlobj/trade.o sqlobj/party.o sqlobj/vending.o sqlobj/guild.o sqlobj/pet.o sqlobj/mail.o sqlobj/log.o $(COMMON_OBJ) - $(CC) -o ../../$@-$(SVN_VERSION) $> $(LIB_S) - cp ../../$@-$(SVN_VERSION) ../../$@ + $(CC) -o ../../$@ $> $(LIB_S) txtobj/%.o: %.c $(COMPILE.c) -DTXT_ONLY $(OUTPUT_OPTION) $< |