summaryrefslogtreecommitdiff
path: root/misc/src/login_sql/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/src/login_sql/make.sh')
-rw-r--r--misc/src/login_sql/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/src/login_sql/make.sh b/misc/src/login_sql/make.sh
new file mode 100644
index 0000000..198d33b
--- /dev/null
+++ b/misc/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