summaryrefslogtreecommitdiff
path: root/misc/src/char_sql/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/src/char_sql/make.sh')
-rw-r--r--misc/src/char_sql/make.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/src/char_sql/make.sh b/misc/src/char_sql/make.sh
new file mode 100644
index 0000000..a4ca8b5
--- /dev/null
+++ b/misc/src/char_sql/make.sh
@@ -0,0 +1,11 @@
+#!/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 strlib.c
+ 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 strlib.o itemdb.o ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o -L/usr/local/lib/mysql -lmysqlclient -lz