diff options
Diffstat (limited to 'src/tool/Makefile')
-rw-r--r-- | src/tool/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tool/Makefile b/src/tool/Makefile index 8734041..4ddcf8b 100644 --- a/src/tool/Makefile +++ b/src/tool/Makefile @@ -1,6 +1,12 @@ +CC=gcc -m32 -O0 -g
+BDIR=..
+COBJS=${BDIR}/common/timer.o ${BDIR}/common/malloc.o ${BDIR}/common/socket.o ${BDIR}/common/lock.o ${BDIR}/common/db.o ${BDIR}/char/int_pet.o ${BDIR}/char/int_storage.o ${BDIR}/char/inter.o ${BDIR}/char/int_party.o ${BDIR}/char/int_guild.o
+
all:
$(CC) -o adduser adduser.c
+ $(CC) -I ${BDIR}/char -I ${BDIR}/common itemfrob.c -o itemfrob ${COBJS}
+ $(CC) -I ${BDIR}/char -I ${BDIR}/common mapfrob.c -o mapfrob ${COBJS}
clean:
- rm -f adduser
+ rm -f adduser itemfrob mapfrop
rm -f *.exe
|