diff options
author | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 04:34:25 +0000 |
---|---|---|
committer | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 04:34:25 +0000 |
commit | ca02d84dbe3f5ff27496f11c1701945f5a63e883 (patch) | |
tree | bcb79557dca78ce47523691db8f543d06ed73ab1 /Makefile | |
parent | 8b4494c1c47a686cceb31ea35ed1b07ac67d5a60 (diff) | |
download | hercules-ca02d84dbe3f5ff27496f11c1701945f5a63e883.tar.gz hercules-ca02d84dbe3f5ff27496f11c1701945f5a63e883.tar.bz2 hercules-ca02d84dbe3f5ff27496f11c1701945f5a63e883.tar.xz hercules-ca02d84dbe3f5ff27496f11c1701945f5a63e883.zip |
"Beautified" login-server
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@430 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,7 +1,12 @@ # $Id: Makefile 158 2004-10-01 03:45:15Z PoW $ CC = gcc -pipe + +ifdef DEBUG +PACKETDEF = -DPACKETVER=6 -DNEW_006b -DSO_REUSEPORT -DDEBUG +else PACKETDEF = -DPACKETVER=6 -DNEW_006b -DSO_REUSEPORT +endif #PACKETDEF = -DPACKETVER=5 -DNEW_006b #PACKETDEF = -DPACKETVER=4 -DNEW_006b #PACKETDEF = -DPACKETVER=3 -DNEW_006b @@ -92,6 +97,9 @@ sql: $(MAKE) CC="$(CC)" OPT="$(OPT)" SQLFLAG=1 $@ endif +debug-sql: + $(MAKE) CC="$(CC)" OPT="$(OPT)" DEBUG=1 sql + clean: src/common/GNUmakefile src/login/GNUmakefile src/char/GNUmakefile src/map/GNUmakefile src/ladmin/GNUmakefile src/txt-converter/login/GNUmakefile src/txt-converter/char/GNUmakefile cd src ; cd common ; $(MAKE) $(MKDEF) $@ ; cd .. cd src ; cd login ; $(MAKE) $(MKDEF) $@ ; cd .. @@ -105,7 +113,7 @@ clean: src/common/GNUmakefile src/login/GNUmakefile src/char/GNUmakefile src/map tools: cd tool && $(MAKE) $(MKDEF) && cd .. - $(CC) -o setupwizard setupwizard.c + $(CC) -o setupwizard setupwizard.c src/common/GNUmakefile: src/common/Makefile sed -e 's/$$>/$$^/' src/common/Makefile > src/common/GNUmakefile |