From d6965a8072c5a768f798a4a58e525b695c702afd Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 5 Oct 2013 07:38:19 +0200 Subject: 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 --- Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.in') 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" -- cgit v1.2.3-60-g2f50