summaryrefslogtreecommitdiff
path: root/3rdparty
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 /3rdparty
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 '3rdparty')
-rw-r--r--3rdparty/libconfig/Makefile.in17
-rw-r--r--3rdparty/mt19937ar/Makefile.in17
2 files changed, 20 insertions, 14 deletions
diff --git a/3rdparty/libconfig/Makefile.in b/3rdparty/libconfig/Makefile.in
index 048a1b3b7..88c5eba96 100644
--- a/3rdparty/libconfig/Makefile.in
+++ b/3rdparty/libconfig/Makefile.in
@@ -8,19 +8,22 @@ CC = @CC@
export CC
#####################################################################
-.PHONY: all clean help
+.PHONY: all clean buildclean help
all: $(LIBCONFIG_OBJ)
-clean:
- @echo " CLEAN libconfig"
+buildclean:
+ @echo " CLEAN libconfig (build temp files)"
@rm -rf *.o
+clean: buildclean
+ @echo " CLEAN libconfig"
+
help:
- @echo "possible targets are 'all' 'clean' 'help'"
- @echo "'all' - builds $(LIBCONFIG_OBJ)"
- @echo "'clean' - deletes $(LIBCONFIG_OBJ)"
- @echo "'help' - outputs this message"
+ @echo "possible targets are 'all' 'clean' 'buildclean' 'help'"
+ @echo "'all' - builds $(LIBCONFIG_OBJ)"
+ @echo "'clean', 'buildclean' - deletes $(LIBCONFIG_OBJ)"
+ @echo "'help' - outputs this message"
#####################################################################
diff --git a/3rdparty/mt19937ar/Makefile.in b/3rdparty/mt19937ar/Makefile.in
index c48848c8d..5d8e19994 100644
--- a/3rdparty/mt19937ar/Makefile.in
+++ b/3rdparty/mt19937ar/Makefile.in
@@ -8,19 +8,22 @@ CC = @CC@
export CC
#####################################################################
-.PHONY: all clean help
+.PHONY: all clean buildclean help
all: $(MT19937AR_OBJ)
-clean:
- @echo " CLEAN mt19937ar"
+buildclean:
+ @echo " CLEAN mt19937ar (build temp files)"
@rm -rf *.o
+clean: buildclean
+ @echo " CLEAN mt19937ar"
+
help:
- @echo "possible targets are 'all' 'clean' 'help'"
- @echo "'all' - builds $(MT19937AR_OBJ)"
- @echo "'clean' - deletes $(MT19937AR_OBJ)"
- @echo "'help' - outputs this message"
+ @echo "possible targets are 'all' 'clean' 'buildclean' 'help'"
+ @echo "'all' - builds $(MT19937AR_OBJ)"
+ @echo "'clean', 'buildclean' - deletes $(MT19937AR_OBJ)"
+ @echo "'help' - outputs this message"
#####################################################################