diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-03-16 00:38:02 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-03-16 09:02:18 -0700 |
commit | e49bce26d3de1a5c2afbe018a869ff8790294fc5 (patch) | |
tree | b01ec81aa67181812303afd4e51bc759bba2a384 /src/char/Makefile | |
parent | 3f0ce47e23fa226b30a4322660b8aab3e74d5240 (diff) | |
download | tmwa-e49bce26d3de1a5c2afbe018a869ff8790294fc5.tar.gz tmwa-e49bce26d3de1a5c2afbe018a869ff8790294fc5.tar.bz2 tmwa-e49bce26d3de1a5c2afbe018a869ff8790294fc5.tar.xz tmwa-e49bce26d3de1a5c2afbe018a869ff8790294fc5.zip |
Use makefiles correctly and expand include dirs
Diffstat (limited to 'src/char/Makefile')
-rw-r--r-- | src/char/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/char/Makefile b/src/char/Makefile index 5eb4b51..6f2e4af 100644 --- a/src/char/Makefile +++ b/src/char/Makefile @@ -1,12 +1,11 @@ include ../../make.defs -all: char-server -txt: char-server +all: txt +txt: char COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o ../common/lock.o ../common/malloc.o ../common/mt_rand.o COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/db.h ../common/lock.h ../common/timer.h ../common/malloc.h ../common/mt_rand.h -char-server: char.o inter.o int_party.o int_guild.o int_storage.o $(COMMON_OBJ) - $(CC) $(CFLAGS) -o ../../$@ $^ +char: char.o inter.o int_party.o int_guild.o int_storage.o $(COMMON_OBJ) char.o: char.c char.h inter.h $(COMMON_H) ../common/version.h inter.o: inter.c inter.h int_party.h int_guild.h int_storage.h char.h $(COMMON_H) @@ -15,4 +14,4 @@ int_guild.o: int_guild.c int_guild.h int_storage.h inter.h char.h $(COMMON_H) int_storage.o: int_storage.c int_storage.h int_guild.h inter.h char.h $(COMMON_H) clean: - rm -f *.o ../../char-server + rm -f *.o char |