Browse Source

update clean target of makefile and testprof/makefile

Steffen Jaeckel 11 years ago
parent
commit
6ac2d6141d
2 changed files with 3 additions and 1 deletions
  1. 2 0
      makefile
  2. 1 1
      testprof/makefile

+ 2 - 0
makefile

@@ -351,6 +351,7 @@ clean:
 	rm -f `find . -type f -name "*.obj" | xargs`
 	rm -f `find . -type f -name "*.lib" | xargs`
 	rm -f `find . -type f -name "*.exe" | xargs`
+	rm -f `find . -type f -name "*.gcov" | xargs`
 	rm -f `find . -type f -name "*.gcda" | xargs`
 	rm -f `find . -type f -name "*.gcno" | xargs`
 	rm -f `find . -type f -name "*.il" | xargs`
@@ -362,6 +363,7 @@ clean:
 	rm -rf doc/doxygen
 	rm -f `find . -type f -name "*.pdf" | grep -FL crypt.pdf | xargs`
 	rm -f *.txt
+	cd testprof ; $(MAKE) clean
 
 #build the doxy files (requires Doxygen, tetex and patience)
 doxy:

+ 1 - 1
testprof/makefile

@@ -20,5 +20,5 @@ $(LIBTEST_S): $(OBJECTS)
 	$(RANLIB) $@
 
 clean:
-	rm -f *.o *.a
+	rm -f *.o *.a *.gcov *.gcda *.gcno