New target clean-objs
@@ -826,18 +826,22 @@ Makefile: configure.ac
### CLEAN
-clean::
+clean:: clean-objs
@echo
@echo " CLEAN"
@rm -fv $(PACKAGE) install.txt
- @rm -fv $(TCL_TURBINE_A) $(TCL_TURBINE_SO)
@rm -fv $(STATIC_PKG_A)
@rm -fv $(DEPS) $(TEST_DEPS) deps.txt deps_contents.txt TAGS
@rm -fv $(TEST_BINS) $(TEST_OBJS) $(TEST_OUTPUT)
@rm -fv $(TEST_RESULTS)
+ @rm -fvr tests/data
+
+clean-objs:
+ @echo
+ @echo " CLEAN-OBJS"
+ @rm -fv $(TCL_TURBINE_A) $(TCL_TURBINE_SO)
@rm -fv $(TURBINE_OBJS) $(STATIC_PACKAGE_OBJS)
@rm -fv $(STATIC_PKG_RESOURCE_O)
- @rm -fvr tests/data
clean-results:
@echo
@@ -857,7 +861,8 @@ distclean:: clean
@rm -fv system-libs.txt
# This line causes a false autoscan warning on token 'install'
-.PHONY: clean install package package_static libs test_results
+.PHONY: clean clean-objs clean-results \
+ install package package_static libs test_results
### DEBUG BUILD SYSTEM
