summaryrefslogtreecommitdiff
path: root/src/test
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/test
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/test')
-rw-r--r--src/test/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/test/Makefile.in b/src/test/Makefile.in
index cb99e7004..0c6d15c6b 100644
--- a/src/test/Makefile.in
+++ b/src/test/Makefile.in
@@ -24,13 +24,17 @@ CC = @CC@
export CC
#####################################################################
-.PHONY: all test_spinlock
+.PHONY: all test_spinlock clean buildclean
all: test_spinlock Makefile
-clean:
+buildclean:
+ @echo " CLEAN test (build temp files)"
+ @rm -rf *.o obj
+
+clean: buildclean
@echo " CLEAN test"
- @rm -rf *.o obj ../../test_spinlock@EXEEXT@
+ @rm -rf ../../test_spinlock@EXEEXT@
#####################################################################