summaryrefslogtreecommitdiff
path: root/src/map/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/Makefile')
-rw-r--r--src/map/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/Makefile b/src/map/Makefile
index 0dddf6132..6ac47838c 100644
--- a/src/map/Makefile
+++ b/src/map/Makefile
@@ -14,10 +14,12 @@ 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 ../../$@ $> $(LIBS)
+ $(CC) -o ../../$@-$(SVN_VERSION) $> $(LIBS)
+ cp ../../$@-$(SVN_VERSION) ../../$@
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 ../../$@ $> $(LIB_S)
+ $(CC) -o ../../$@-$(SVN_VERSION) $> $(LIB_S)
+ cp ../../$@-$(SVN_VERSION) ../../$@
txtobj/%.o: %.c
$(COMPILE.c) -DTXT_ONLY $(OUTPUT_OPTION) $<