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 --- src/test/Makefile.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/test') 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@ ##################################################################### -- cgit v1.2.3-70-g09d2