summaryrefslogtreecommitdiff
path: root/src/common
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 /src/common
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 'src/common')
-rw-r--r--src/common/Makefile.in17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/common/Makefile.in b/src/common/Makefile.in
index 78f9cd0d1..53b7a472e 100644
--- a/src/common/Makefile.in
+++ b/src/common/Makefile.in
@@ -40,22 +40,25 @@ CC = @CC@
export CC
#####################################################################
-.PHONY: all sql common common_sql common_mini clean help
+.PHONY: all sql common common_sql common_mini clean buildclean help
all: sql
sql: $(SQL_DEPENDS)
-clean:
- @echo " CLEAN common"
+buildclean:
+ @echo " CLEAN common (build temp files)"
@rm -rf *.o obj_all obj_sql
+clean: buildclean
+ @echo " CLEAN common"
+
help:
@echo "possible targets are 'sql' 'all' 'clean' 'help'"
- @echo "'sql' - builds object files used in sql servers"
- @echo "'all' - builds all above targets"
- @echo "'clean' - cleans builds and objects"
- @echo "'help' - outputs this message"
+ @echo "'sql' - builds object files used in sql servers"
+ @echo "'all' - builds all above targets"
+ @echo "'clean', 'buildclean' - cleans builds and objects"
+ @echo "'help' - outputs this message"
#####################################################################