summaryrefslogtreecommitdiff
path: root/src/login_sql/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql/make.sh')
-rw-r--r--src/login_sql/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/login_sql/make.sh b/src/login_sql/make.sh
new file mode 100644
index 000000000..3e43cd11f
--- /dev/null
+++ b/src/login_sql/make.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+ rsqlt=`rm -rf *.o`
+ gcc -c login.c -I/usr/local/include/mysql/
+ gcc -c md5calc.c -I/usr/local/include/mysql/
+ gcc -c strlib.c
+ gcc -o login-server login.o strlib.o md5calc.o ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o -L/usr/local/lib/mysql/ -lmysqlclient -lz