make clean now uses find to locate all object files
This commit is contained in:
parent
3821dfefc0
commit
3bfae3461e
@ -226,7 +226,9 @@ DEPEND_FILES=\
|
|||||||
.PHONY: clean distclean
|
.PHONY: clean distclean
|
||||||
|
|
||||||
clean:
|
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
|
distclean: clean
|
||||||
$(RM) config.cache config.log config.status configure.h version.h Makefile unit-tests/Makefile
|
$(RM) config.cache config.log config.status configure.h version.h Makefile unit-tests/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user