summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 06:09:45 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 06:09:45 +0000
commit9c6bcfc755263b24a31c5f63e0b0dab2d9a460e0 (patch)
tree6c5f3a13d6edc9016d7a4037ac2a4630be6c108a /Makefile
parent5493d9e25f0e5e91867ab64ea40dba57f142c76e (diff)
downloadhercules-9c6bcfc755263b24a31c5f63e0b0dab2d9a460e0.tar.gz
hercules-9c6bcfc755263b24a31c5f63e0b0dab2d9a460e0.tar.bz2
hercules-9c6bcfc755263b24a31c5f63e0b0dab2d9a460e0.tar.xz
hercules-9c6bcfc755263b24a31c5f63e0b0dab2d9a460e0.zip
remove SVN_VERSION
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@873 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 16058c68b..bfd8774d9 100644
--- a/Makefile
+++ b/Makefile
@@ -26,15 +26,13 @@ endif
OPT = -g -O2 -ffast-math
-SVN_VERSION = $(shell echo " $Rev$ " | sed -e 's/^.* \(.*\) .*/\1/')
-
ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
OS_TYPE = -DCYGWIN
-CFLAGS = -DSVN_VERSION=$(SVN_VERSION) $(OPT) -Wall -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE)
+CFLAGS = $(OPT) -Wall -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE)
else
OS_TYPE =
-CFLAGS = -DSVN_VERSION=$(SVN_VERSION) $(OPT) -Wall -I../common $(PACKETDEF) $(OS_TYPE)
-# CFLAGS = -DTWILIGHT -DSVN_VERSION=$(SVN_VERSION) $(OPT) -Wall -I../common $(PACKETDEF) $(OS_TYPE)
+CFLAGS = $(OPT) -Wall -I../common $(PACKETDEF) $(OS_TYPE)
+# CFLAGS = -DTWILIGHT $(OPT) -Wall -I../common $(PACKETDEF) $(OS_TYPE)
endif
MYSQLFLAG_INCLUDE_DEFAULT = /usr/local/include/mysql
@@ -69,11 +67,11 @@ else
LIB_S = $(LIB_S_DEFAULT)
endif
-MYLIB = SVN_VERSION="$(SVN_VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS) $(MYSQLFLAG_INCLUDE)" LIB_S="$(LIB_S) $(GCLIB)"
+MYLIB = CC="$(CC)" CFLAGS="$(CFLAGS) $(MYSQLFLAG_INCLUDE)" LIB_S="$(LIB_S) $(GCLIB)"
endif
-MKDEF = SVN_VERSION="$(SVN_VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" LIB_S="$(GCLIB)"
+MKDEF = CC="$(CC)" CFLAGS="$(CFLAGS)" LIB_S="$(GCLIB)"
all: conf txt