]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - Makefile
New keymap for The Helix keyboard("five_rows") (#2592)
[qmk_firmware.git] / Makefile
index c98c0f29809b104210181cfa53bdab5b7f3eecfa..9ef82bbd3c2e0b02c2ce91faf89e7a886bb781ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,9 +19,9 @@ endif
 # Otherwise the [OK], [ERROR] and [WARN] messages won't be displayed correctly
 override SILENT := false
 
+ifndef SUB_IS_SILENT
 QMK_VERSION := $(shell git describe --abbrev=0 --tags 2>/dev/null)
 ifneq ($(QMK_VERSION),)
-ifneq ($(SILENT),)
 $(info QMK Firmware $(QMK_VERSION))
 endif
 endif
@@ -124,6 +124,12 @@ generate-keyboards-file:
        $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD)))
        exit 0
 
+clean:
+       echo -n 'Deleting .build ... '
+       rm -rf $(BUILD_DIR)
+       echo 'done'
+       exit 0
+
 #Compatibility with the old make variables, anything you specify directly on the command line
 # always overrides the detected folders
 ifdef keyboard