diff options
author | fauxpark <fauxpark@gmail.com> | 2019-02-05 10:06:08 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-05 09:49:24 -0800 |
commit | 612dc232d7e1e88dcd21be09eb32ef7099af854a (patch) | |
tree | a185c40da0c010ec6626cea46004c49ba090a3a6 /Makefile | |
parent | 6172273c866637c06150647cacf1477d8c8075c9 (diff) | |
download | qmk_firmware-612dc232d7e1e88dcd21be09eb32ef7099af854a.tar.gz qmk_firmware-612dc232d7e1e88dcd21be09eb32ef7099af854a.zip |
Add distclean target instead
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -115,7 +115,6 @@ $(eval $(call GET_KEYBOARDS)) | |||
115 | .PHONY: list-keyboards | 115 | .PHONY: list-keyboards |
116 | list-keyboards: | 116 | list-keyboards: |
117 | echo $(KEYBOARDS) | 117 | echo $(KEYBOARDS) |
118 | exit 0 | ||
119 | 118 | ||
120 | define PRINT_KEYBOARD | 119 | define PRINT_KEYBOARD |
121 | $(info $(PRINTING_KEYBOARD)) | 120 | $(info $(PRINTING_KEYBOARD)) |
@@ -124,16 +123,18 @@ endef | |||
124 | .PHONY: generate-keyboards-file | 123 | .PHONY: generate-keyboards-file |
125 | generate-keyboards-file: | 124 | generate-keyboards-file: |
126 | $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD))) | 125 | $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD))) |
127 | exit 0 | ||
128 | 126 | ||
129 | .PHONY: clean | 127 | .PHONY: clean |
130 | clean: | 128 | clean: |
131 | echo 'Deleting .build/ ...' | 129 | echo -n 'Deleting .build/ ... ' |
132 | rm -rf $(BUILD_DIR) | 130 | rm -rf $(BUILD_DIR) |
133 | echo 'Deleting *.bin and *.hex ...' | 131 | echo 'done.' |
132 | |||
133 | .PHONY: distclean | ||
134 | distclean: clean | ||
135 | echo -n 'Deleting *.bin and *.hex ... ' | ||
134 | rm -f *.bin *.hex | 136 | rm -f *.bin *.hex |
135 | echo 'Done.' | 137 | echo 'done.' |
136 | exit 0 | ||
137 | 138 | ||
138 | #Compatibility with the old make variables, anything you specify directly on the command line | 139 | #Compatibility with the old make variables, anything you specify directly on the command line |
139 | # always overrides the detected folders | 140 | # always overrides the detected folders |