summaryrefslogblamecommitdiff
path: root/src/ladmin/GNUmakefile
blob: 768626fffc8be842acf7a714b84a20312b136f78 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                                                      
all: ladmin
txt: ladmin
sql: ladmin

COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.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/malloc.h

ladmin: ladmin.o md5calc.o $(COMMON_OBJ)
	$(CC) -o ../../$@ ladmin.o md5calc.o $(COMMON_OBJ)
ladmin.o: ladmin.c ladmin.h md5calc.h $(COMMON_H)
md5calc.o: md5calc.c md5calc.h

clean:
	rm -f *.o ../../ladmin