From 9b17380391d7e2e4cc26654ee4423ec14d379d28 Mon Sep 17 00:00:00 2001 From: Andreas Ericsson Date: Wed, 14 Apr 2010 19:38:38 +0200 Subject: [PATCH] Make 'make clean' wipe all object files in src/*/ Instead of naming the subdirectories explicitly (which will result in us forgetting about one sooner or later), we change the shell glob pattern to wipe all object files from all subdirectories under src/. Signed-off-by: Andreas Ericsson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a5ab36d..7b08db5 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ clean: rm -f $(GIT_LIB) rm -f libgit2.pc rm -f *.pdb - rm -f src/*.o src/sha1/*.o src/unix/*.o src/win32/*.o + rm -f src/*.o src/*/*.o rm -rf apidocs rm -f *~ src/*~ src/git/*~ src/sha1/*~ src/unix/*~ src/win32/*~ @$(MAKE) -C tests -s --no-print-directory clean -- 2.11.4.GIT