summaryrefslogblamecommitdiff
path: root/src/txt-converter/Makefile
blob: 284f8dc8170d9944d70fbb5b2e8bfe0254b2d43f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                        






                                                                                 

                                            
                                                                                                                                                  






                                                                         


                                                           

                                     
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 \
	../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
	$(CC) -o ../../tools/$@ $^ $(LIB_S)

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

# DO NOT DELETE

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

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