summaryrefslogtreecommitdiff
path: root/src/txt-converter/Makefile
blob: 419029e199f2d698bf37b026d29083ed14317ba3 (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
all sql: char-converter login-converter

char-converter: char-converter.o ../common/obj/minicore.o \
	../common/obj/malloc.o ../common/obj/showmsg.o ../common/obj/strlib.o \
	../common/obj/mapindex.o ../common/obj/ers.o ../common/obj/utils.o \
	../char/char.o ../char/int_pet.o ../char/int_storage.o ../char/inter.o \
	../char/int_party.o ../char/int_guild.o \
	../char_sql/char.o ../char_sql/int_pet.o ../char_sql/int_storage.o \
	../char_sql/inter.o ../char_sql/int_party.o ../char_sql/int_guild.o
	$(CC) -o ../../tools/$@ $^ $(LIB_S)

login-converter: login-converter.o ../common/obj/minicore.o ../common/obj/db.o ../common/obj/malloc.o ../common/obj/showmsg.o ../common/obj/ers.o ../common/obj/utils.o
	$(CC) -o ../../tools/$@ $^ $(LIB_S)

clean:
	rm -f *.o ../../tools/login-converter ../../tools/char-converter GNUmakefile

# DO NOT DELETE

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

char-converter.o: char-converter.c
login-converter.o: login-converter.c