diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-03-16 18:44:36 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-03-16 18:44:36 -0700 |
commit | 81362204ace57c1af844bf784f5599cc91190f8b (patch) | |
tree | d0fce527a36d7b0b6d80972d93360407b7217326 | |
parent | 9f36288ddb356608da0348814100873729c16a9d (diff) | |
download | tmwa-81362204ace57c1af844bf784f5599cc91190f8b.tar.gz tmwa-81362204ace57c1af844bf784f5599cc91190f8b.tar.bz2 tmwa-81362204ace57c1af844bf784f5599cc91190f8b.tar.xz tmwa-81362204ace57c1af844bf784f5599cc91190f8b.zip |
Fix top-level makefile to rebuild when sources change
-rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -1,18 +1,21 @@ include make.defs all: login-server char-server map-server ladmin -common: +tools: tool eathena-monitor + + +common: src/common ${MAKE} -C src/common -login-server: common +login-server: common src/login ${MAKE} -C src/login ${CP} src/login/login login-server -char-server: common +char-server: common src/char ${MAKE} -C src/char ${CP} src/char/char char-server -map-server: common +map-server: common src/map ${MAKE} -C src/map ${CP} src/map/map map-server -ladmin: common +ladmin: common src/ladmin ${MAKE} -C src/ladmin clean: clean-common clean-login clean-char clean-map clean-ladmin clean-tools @@ -29,9 +32,9 @@ clean-ladmin: ${MAKE} -C src/ladmin clean # This target is separate for historical reasons, and because it is optional -tools: common eathena-monitor -eathena-monitor: +tool: common src/tool ${MAKE} -C src/tool +eathena-monitor: tool ${CP} src/tool/eathena-monitor . clean-tools: ${MAKE} -C src/tool clean |