summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-10-05 07:38:19 +0200
committerHaru <haru@dotalux.com>2013-10-05 07:38:19 +0200
commitd6965a8072c5a768f798a4a58e525b695c702afd (patch)
treee0b542aefe9bb1b7d9ab5d76644c4e1bad72f948 /Makefile.in
parent62c5e65d28833c1068d195778c0e3a710acaa104 (diff)
downloadhercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.gz
hercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.bz2
hercules-d6965a8072c5a768f798a4a58e525b695c702afd.tar.xz
hercules-d6965a8072c5a768f798a4a58e525b695c702afd.zip
Added 'buildclean' target to all makefiles
- By invoking 'make buildclean', you can clean up all the build intermediate (object) files, without deleting any of the built executables and plugins. - To delete everything, use 'make clean', as you've always done. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 7dfb138f9..f41aac4c7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,6 +46,8 @@ export CC
import \
test \
clean \
+ buildclean \
+ distclean \
help
all: $(ALL_DEPENDS)
@@ -111,7 +113,7 @@ import: Makefile
@if test ! -d conf/import ; then mkdir conf/import ; fi
@for f in $$(ls conf/import-tmpl) ; do if test ! -e conf/import/$$f ; then cp conf/import-tmpl/$$f conf/import ; fi ; done
-clean: $(MF_TARGETS)
+clean buildclean: $(MF_TARGETS)
@$(MAKE) -C src/common $@
@$(MAKE) -C 3rdparty/mt19937ar $@
@$(MAKE) -C 3rdparty/libconfig $@
@@ -140,7 +142,9 @@ help: Makefile
@echo "'sql' - builds sql servers (targets 'common_sql' 'login_sql' 'char_sql'"
@echo " 'map_sql' and 'import')"
@echo "'test' - builds tests"
- @echo "'clean' - cleans builds and objects"
+ @echo "'clean' - cleans executables and objects"
+ @echo "'buildclean' - cleans build temporary (object) files, without deleting the"
+ @echo " executables"
@echo "'distclean' - cleans files generated by ./configure"
@echo "'help' - outputs this message"