diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-04-02 22:00:46 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-04-03 18:26:38 -0700 |
commit | 4095d5726ebabc663a6d5397d003773ee652818a (patch) | |
tree | b42844e6a6d8f283d0a31ae92ac5b0d32a669b7b /src/login | |
parent | 7a1b57a80346c1b5f2b2c5b8f0899167bf2fd9b1 (diff) | |
download | tmwa-4095d5726ebabc663a6d5397d003773ee652818a.tar.gz tmwa-4095d5726ebabc663a6d5397d003773ee652818a.tar.bz2 tmwa-4095d5726ebabc663a6d5397d003773ee652818a.tar.xz tmwa-4095d5726ebabc663a6d5397d003773ee652818a.zip |
Rewrite make system to be optimal
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/GNUmakefile | 7 | ||||
-rw-r--r-- | src/login/Makefile | 12 |
2 files changed, 7 insertions, 12 deletions
diff --git a/src/login/GNUmakefile b/src/login/GNUmakefile new file mode 100644 index 0000000..912127d --- /dev/null +++ b/src/login/GNUmakefile @@ -0,0 +1,7 @@ +.SUFFIXES: +all: + make -C ../.. login-server +clean: + rm -r ../../obj/login/ +%:: + make -C ../.. obj/login/$@ diff --git a/src/login/Makefile b/src/login/Makefile deleted file mode 100644 index bc1e7c0..0000000 --- a/src/login/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -include ../../make.defs - -all: login - -COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o ../common/lock.o ../common/mt_rand.o ../common/md5calc.o -COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/version.h ../common/db.h ../common/lock.h ../common/mt_rand.h ../common/md5calc.h - -login: $(COMMON_OBJ) -login.o: login.c login.h $(COMMON_H) - -clean: - rm -f *.o login |