Fix the clean target

It now properly cleans all the outputs
master
Fred Sundvik 2016-08-20 12:44:04 +03:00
parent da226e6126
commit 48f8ab1ae2
1 changed files with 1 additions and 2 deletions

View File

@ -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: