From 3bfae3461e816038ec3fb686322d6ddcb12e7c71 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 19 Jun 2013 13:10:12 +0100 Subject: [PATCH] make clean now uses find to locate all object files --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index a9973f0..4d1b3df 100644 --- a/Makefile.in +++ b/Makefile.in @@ -226,7 +226,9 @@ DEPEND_FILES=\ .PHONY: clean distclean clean: - $(RM) */*.o unit-tests/*.o $(DEPEND_FILES) unit-tests/*.gmo $(TEST_PROGRAMS) $(PROGRAMS) $(OBJECTS) $(GMOCK_OBJECTS) lib/*.a + find . -name \*.o -delete + find . -name \*.gmo -delete + $(RM) $(DEPEND_FILES) $(TEST_PROGRAMS) $(PROGRAMS) $(GMOCK_OBJECTS) lib/*.a distclean: clean $(RM) config.cache config.log config.status configure.h version.h Makefile unit-tests/Makefile