summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-21 06:06:21 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-21 06:06:21 +0000
commit126ce626c0e0ef900a19c1643efe884f95938892 (patch)
tree85553bb7b0be2895c3f75072960814eb86a016ab /Makefile
parent24056776a3d8dfad2e0494136b58f0bbd85f03b3 (diff)
downloadhercules-126ce626c0e0ef900a19c1643efe884f95938892.tar.gz
hercules-126ce626c0e0ef900a19c1643efe884f95938892.tar.bz2
hercules-126ce626c0e0ef900a19c1643efe884f95938892.tar.xz
hercules-126ce626c0e0ef900a19c1643efe884f95938892.zip
* Moved /tool and /webserver to under /src and added 'make tools' and 'make web-server'
* Removed ladmin compiling from 'make sql' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1261 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index cc95d3800..5bbe28131 100644
--- a/Makefile
+++ b/Makefile
@@ -91,19 +91,26 @@ txt : src/common/GNUmakefile src/login/GNUmakefile src/char/GNUmakefile src/map/
ifdef SQLFLAG
-sql: src/common/GNUmakefile src/login_sql/GNUmakefile src/char_sql/GNUmakefile src/map/GNUmakefile src/ladmin/GNUmakefile src/txt-converter/login/GNUmakefile src/txt-converter/char/GNUmakefile conf
+sql: src/common/GNUmakefile src/login_sql/GNUmakefile src/char_sql/GNUmakefile src/map/GNUmakefile src/txt-converter/login/GNUmakefile src/txt-converter/char/GNUmakefile conf
cd src ; cd common ; $(MAKE) $(MKDEF) $@ ; cd ..
cd src ; cd login_sql ; $(MAKE) $(MYLIB) $@ ; cd ..
cd src ; cd char_sql ; $(MAKE) $(MYLIB) $@ ; cd ..
cd src ; cd map ; $(MAKE) $(MYLIB) $@ ; cd ..
- cd src ; cd ladmin ; $(MAKE) $(MKDEF) $@ ; cd ..
- cd src ; cd txt-converter ; cd login ; $(MAKE) $(MYLIB) $@ ; cd ..
- cd src ; cd txt-converter ; cd char ; $(MAKE) $(MYLIB) $@ ; cd ..
+ cd src ; cd txt-converter ; cd login ; $(MAKE) $(MYLIB) ; cd ..
+ cd src ; cd txt-converter ; cd char ; $(MAKE) $(MYLIB) ; cd ..
else
sql:
$(MAKE) CC="$(CC)" OPT="$(OPT)" SQLFLAG=1 $@
endif
+
+tools:
+ cd src ; cd tool && $(MAKE) $(MKDEF) && cd ..
+
+webserver:
+ cd src ; cd webserver && $(MAKE) $(MKDEF) && cd ..
+
+
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 ..
@@ -115,10 +122,6 @@ clean: src/common/GNUmakefile src/login/GNUmakefile src/char/GNUmakefile src/map
cd src ; cd txt-converter ; cd login ; $(MAKE) $(MKLIB) $@ ; cd ..
cd src ; cd txt-converter ; cd char ; $(MAKE) $(MKLIB) $@ ; cd ..
-tools:
- cd tool && $(MAKE) $(MKDEF) && cd ..
- $(CC) -o setupwizard setupwizard.c
-
src/common/GNUmakefile: src/common/Makefile
sed -e 's/$$>/$$^/' src/common/Makefile > src/common/GNUmakefile
src/login/GNUmakefile: src/login/Makefile