diff options
Diffstat (limited to 'src/ladmin/Makefile')
-rw-r--r-- | src/ladmin/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ladmin/Makefile b/src/ladmin/Makefile new file mode 100644 index 000000000..f669a6ef1 --- /dev/null +++ b/src/ladmin/Makefile @@ -0,0 +1,17 @@ +all txt sql: ladmin
+
+COMMON_OBJ = ../common/obj/minicore.o ../common/obj/minisocket.o ../common/obj/timer.o \
+ ../common/obj/malloc.o ../common/obj/showmsg.o ../common/obj/strlib.o
+COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h \
+ ../common/version.h ../common/malloc.h ../common/showmsg.h ../common/strlib.h
+
+ladmin: ladmin.o md5calc.o $(COMMON_OBJ)
+ $(CC) -o ../../$@ ladmin.o md5calc.o $(COMMON_OBJ) $(LIB_S)
+
+clean:
+ rm -f *.o ../../ladmin
+
+# DO NOT DELETE
+
+ladmin.o: ladmin.c ladmin.h md5calc.h $(COMMON_H)
+md5calc.o: md5calc.c md5calc.h
\ No newline at end of file |