summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/test.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/test.mk b/include/test.mk
index b99283f3..c11d0c74 100644
--- a/include/test.mk
+++ b/include/test.mk
@@ -87,11 +87,14 @@ $(tests) :: test-% : test.c test-%.c $(test-%_FILES)
$(VALGRIND) ./$@
test : $(tests)
+ $(MAKE) -f include/test.mk test-clean
-clean :
- @rm -vf test-random.h random.bin libefi-test.a
+test-clean :
+ @rm -vf test-random.h random.bin libefi-test.a vgcore.*
-all : clean test
+clean : test-clean
+
+all : test-clean test
.PHONY: $(tests) all test clean
.SECONDARY: random.bin