summaryrefslogtreecommitdiff
path: root/src/login/Makefile
blob: 11d2e165f7933529c9faf894ed45b524619898e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
all txt: login-server

COMMON_OBJ = ../common/obj/core.o ../common/obj/socket.o ../common/obj/timer.o \
	../common/obj/db.o ../common/obj/plugins.o ../common/obj/lock.o \
	../common/obj/malloc.o ../common/obj/showmsg.o ../common/obj/utils.o \
	../common/obj/strlib.o ../common/obj/grfio.o \
	../common/obj/mapindex.o ../common/obj/ers.o ../common/obj/md5calc.o
COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h \
	../common/version.h ../common/db.h ../common/plugins.h ../common/lock.h \
	../common/malloc.h ../common/showmsg.h ../common/utils.h ../common/strlib.h \
	../common/grfio.h ../common/mapindex.h \
	../common/md5calc.h

%.o: %.c
	$(COMPILE.c) -DTXT_ONLY $(OUTPUT_OPTION) $<

login-server: login.o $(COMMON_OBJ)
	$(CC) -o ../../$@ login.o $(COMMON_OBJ) $(LIB_S)
	
clean:
	rm -f *.o ../../login-server GNUmakefile

# DO NOT DELETE

login.o: login.c login.h $(COMMON_H)