Fix the clean target

It now properly cleans all the outputs
example_keyboards
Fred Sundvik 8 years ago
parent da226e6126
commit 48f8ab1ae2

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

Loading…
Cancel
Save