summaryrefslogtreecommitdiff
path: root/misc/src/login/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/src/login/Makefile')
-rw-r--r--misc/src/login/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/src/login/Makefile b/misc/src/login/Makefile
new file mode 100644
index 0000000..df6cb21
--- /dev/null
+++ b/misc/src/login/Makefile
@@ -0,0 +1,13 @@
+all: login-server
+txt: login-server
+
+COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o ../common/lock.o ../common/malloc.o
+COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/version.h ../common/db.h ../common/lock.h ../common/malloc.h
+
+login-server: login.o md5calc.o $(COMMON_OBJ)
+ $(CC) -o ../../$@ login.o md5calc.o $(COMMON_OBJ)
+login.o: login.c login.h md5calc.h $(COMMON_H)
+md5calc.o: md5calc.c md5calc.h
+
+clean:
+ rm -f *.o ../../login-server