summaryrefslogtreecommitdiff
path: root/src/char_sql/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/make.sh')
-rw-r--r--src/char_sql/make.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/char_sql/make.sh b/src/char_sql/make.sh
new file mode 100644
index 000000000..d5f109f3e
--- /dev/null
+++ b/src/char_sql/make.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+ rsqlt=`rm -rf *.o`
+ gcc -c char.c -I/usr/local/include/mysql/
+ gcc -c int_guild.c -I/usr/local/include/mysql/
+ gcc -c int_party.c -I/usr/local/include/mysql/
+ gcc -c int_pet.c -I/usr/local/include/mysql/
+ gcc -c int_storage.c -I/usr/local/include/mysql/
+ gcc -c inter.c -I/usr/local/include/mysql/
+ gcc -c itemdb.c -I../common/
+ gcc -o ../char-server inter.o char.o int_pet.o int_storage.o int_guild.o int_party.o ../common/strlib.o itemdb.o ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o -L/usr/local/lib/mysql -lmysqlclient -lz