Skip to content
Snippets Groups Projects
Commit 9dd078e3 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

remove object files of deleted sources

parent d8858fb1
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -69,6 +69,8 @@ ifneq ($(strip $(EXTRA_OBJECTS_DEBUG)),)
ifneq ($(wildcard lib-debug/$(FULL_LIBRARY)),)
ifneq ($(firstword $(EXISTENT_OBJECTS_DEBUG)),)
$(shell touch $(firstword $(EXISTENT_OBJECTS_DEBUG)))
$(shell rm $(EXTRA_OBJECTS_DEBUG))
$(shell rm $(patsubst obj-debug/%.o,obj-debug/%.d, $(EXTRA_OBJECTS_DEBUG)))
endif
endif
endif
......@@ -77,6 +79,8 @@ ifneq ($(strip $(EXTRA_TEST_OBJECTS_DEBUG)),)
ifneq ($(wildcard test-bin-debug/$(TESTBIN)),)
ifneq ($(firstword $(EXISTENT_TEST_OBJECTS_DEBUG)),)
$(shell touch $(firstword $(EXISTENT_TEST_OBJECTS_DEBUG)))
$(shell rm $(EXTRA_TEST_OBJECTS_DEBUG))
$(shell rm $(patsubst obj-debug/%.o,obj-debug/%.d, $(EXTRA_TEST_OBJECTS_DEBUG)))
endif
endif
endif
......@@ -85,6 +89,8 @@ ifneq ($(strip $(EXTRA_OBJECTS_RELEASE)),)
ifneq ($(wildcard lib-release/$(FULL_LIBRARY)),)
ifneq ($(firstword $(EXISTENT_OBJECTS_RELEASE)),)
$(shell touch $(firstword $(EXISTENT_OBJECTS_RELEASE)))
$(shell rm $(EXTRA_OBJECTS_RELEASE))
$(shell rm $(patsubst obj-debug/%.o,obj-debug/%.d, $(EXTRA_OBJECTS_RELEASE)))
endif
endif
endif
......@@ -93,6 +99,8 @@ ifneq ($(strip $(EXTRA_TEST_OBJECTS_RELEASE)),)
ifneq ($(wildcard test-bin-release/$(TESTBIN)),)
ifneq ($(firstword $(EXISTENT_TEST_OBJECTS_RELEASE)),)
$(shell touch $(firstword $(EXISTENT_TEST_OBJECTS_RELEASE)))
$(shell rm $(EXTRA_TEST_OBJECTS_RELEASE))
$(shell rm $(patsubst obj-debug/%.o,obj-debug/%.d, $(EXTRA_TEST_OBJECTS_RELEASE)))
endif
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment