diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-20 12:44:04 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-08-20 12:44:04 +0300 |
commit | 48f8ab1ae2612960cbd82c1f9967fd118aae4c67 (patch) | |
tree | fef04f47afc0ef478c7be1bf77d6eff15960e2dd /tmk_core | |
parent | da226e61261e0c11e678d2086c00b2a45726083e (diff) |
Fix the clean target
It now properly cleans all the outputs
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/rules.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 977a2d0e53..21011c2808 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -352,8 +352,7 @@ $(foreach OUTPUT,$(OUTPUTS),$(eval $(call GEN_OBJRULE,$(OUTPUT)))) # Target: clean project. clean: - $(REMOVE) -r $(OBJDIR) 2>/dev/null - $(REMOVE) -r $(KBOBJDIR) 2>/dev/null + $(foreach OUTPUT,$(OUTPUTS), $(REMOVE) -r $(OUTPUT) 2>/dev/null) $(REMOVE) $(BUILD_DIR)/$(TARGET).* show_path: |