summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 16:30:02 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 16:30:02 +0000
commit7206810cc58a01e9d87a02920b0e6771c9864b8a (patch)
tree91b7b722a230292c10a647d9825fd1bd14e59ec6 /Makefile
parentb14ce328eaf0c82dff32ba156ec440ff1a07ac0d (diff)
downloadhercules-7206810cc58a01e9d87a02920b0e6771c9864b8a.tar.gz
hercules-7206810cc58a01e9d87a02920b0e6771c9864b8a.tar.bz2
hercules-7206810cc58a01e9d87a02920b0e6771c9864b8a.tar.xz
hercules-7206810cc58a01e9d87a02920b0e6771c9864b8a.zip
foo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@822 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 40dcc7dc3..d9258179c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
# $Id: Makefile 158 2004-10-01 03:45:15Z PoW $
-# CC = /usr/local/bin/gcc -fbounds-checking -pipe
-# CC = /usr/local/bin/gcc
CC = gcc -pipe
+# CC = gcc -pipe -DGCOLLECT
+# CC = /usr/local/bin/gcc -fbounds-checking -pipe -DBCHECK
+
+# GCLIB = -lgc
+GCLIB =
+
PACKETDEF = -DPACKETVER=6 -DNEW_006b -DSO_REUSEPORT
#PACKETDEF = -DPACKETVER=5 -DNEW_006b
#PACKETDEF = -DPACKETVER=4 -DNEW_006b
@@ -26,6 +30,7 @@ CFLAGS = $(OPT) -Wall -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE)
else
OS_TYPE =
CFLAGS = $(OPT) -Wall -I../common $(PACKETDEF) $(OS_TYPE)
+# CFLAGS = $(OPT) -DTWILIGHT -Wall -I../common $(PACKETDEF) $(OS_TYPE)
endif
MYSQLFLAG_INCLUDE_DEFAULT = /usr/local/include/mysql
@@ -60,11 +65,11 @@ else
LIB_S = $(LIB_S_DEFAULT)
endif
-MYLIB = CC="$(CC)" CFLAGS="$(CFLAGS) $(MYSQLFLAG_INCLUDE)" LIB_S="$(LIB_S)"
+MYLIB = CC="$(CC)" CFLAGS="$(CFLAGS) $(MYSQLFLAG_INCLUDE)" LIB_S="$(LIB_S) $(GCLIB)"
endif
-MKDEF = CC="$(CC)" CFLAGS="$(CFLAGS)"
+MKDEF = CC="$(CC)" CFLAGS="$(CFLAGS)" LIB_S="$(GCLIB)"
all: conf txt