1
0
Fork 0

Fix the clean target

It now properly cleans all the outputs
This commit is contained in:
Fred Sundvik 2016-08-20 12:44:04 +03:00
parent da226e6126
commit 48f8ab1ae2

View file

@ -352,8 +352,7 @@ $(foreach OUTPUT,$(OUTPUTS),$(eval $(call GEN_OBJRULE,$(OUTPUT))))
# Target: clean project. # Target: clean project.
clean: clean:
$(REMOVE) -r $(OBJDIR) 2>/dev/null $(foreach OUTPUT,$(OUTPUTS), $(REMOVE) -r $(OUTPUT) 2>/dev/null)
$(REMOVE) -r $(KBOBJDIR) 2>/dev/null
$(REMOVE) $(BUILD_DIR)/$(TARGET).* $(REMOVE) $(BUILD_DIR)/$(TARGET).*
show_path: show_path: