diff options
author | Haru <haru@dotalux.com> | 2013-09-21 20:03:52 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-09-21 20:17:52 +0200 |
commit | beaf3a26a60d5b0429a577b7d58232957d4483e7 (patch) | |
tree | c760824c93ccc58cbdbb21bf820a4b72cc1e32dc /src/map/Makefile.in | |
parent | 0d12201adecaf21fccfee8e62a2d2a5582535ae3 (diff) | |
download | hercules-beaf3a26a60d5b0429a577b7d58232957d4483e7.tar.gz hercules-beaf3a26a60d5b0429a577b7d58232957d4483e7.tar.bz2 hercules-beaf3a26a60d5b0429a577b7d58232957d4483e7.tar.xz hercules-beaf3a26a60d5b0429a577b7d58232957d4483e7.zip |
Added Makefile.in change detection (and auto-rebuild) capabilities
- If a Makefile.in is changed, ./config.status (or ./configure in case
it's not available) will be automatically run to update the Makefiles.
- Special thanks to Yommy for the idea.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/Makefile.in')
-rw-r--r-- | src/map/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/Makefile.in b/src/map/Makefile.in index ed1b9a79d..f7e178667 100644 --- a/src/map/Makefile.in +++ b/src/map/Makefile.in @@ -66,6 +66,9 @@ help: ##################################################################### +Makefile: Makefile.in + @$(MAKE) -C ../.. src/map/Makefile + needs_mysql: @echo "MySQL not found or disabled by the configure script" @exit 1 @@ -78,7 +81,7 @@ obj_sql: # executables -map-server: $(MAP_SERVER_SQL_DEPENDS) +map-server: $(MAP_SERVER_SQL_DEPENDS) Makefile @echo " LD $@" @$(CC) @LDFLAGS@ -o ../../map-server@EXEEXT@ $(MAP_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @PCRE_LIBS@ @MYSQL_LIBS@ |