summaryrefslogtreecommitdiff
path: root/misc/src/char_sql/make.sh
blob: a4ca8b5e4dbb7a5dee7c94ec839187269dadbee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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