]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
These targets should be .PHONY
authorfauxpark <fauxpark@gmail.com>
Sat, 2 Feb 2019 14:26:35 +0000 (01:26 +1100)
committerDrashna Jaelre <drashna@live.com>
Tue, 5 Feb 2019 17:49:24 +0000 (09:49 -0800)
Makefile

index 73fd8dc890a15f237717a584ed4de9065e079dfe..c7dda23dc6f5fdea98f118f27a8455b23e07aa13 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,7 @@ $(eval $(call GET_KEYBOARDS))
 # Only consider folders with makefiles, to prevent errors in case there are extra folders
 #KEYBOARDS += $(patsubst $(ROOD_DIR)/keyboards/%/rules.mk,%,$(wildcard $(ROOT_DIR)/keyboards/*/*/rules.mk))
 
+.PHONY: list-keyboards
 list-keyboards:
        echo $(KEYBOARDS)
        exit 0
@@ -120,10 +121,12 @@ define PRINT_KEYBOARD
        $(info $(PRINTING_KEYBOARD))
 endef
 
+.PHONY: generate-keyboards-file
 generate-keyboards-file:
        $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD)))
        exit 0
 
+.PHONY: clean
 clean:
        echo 'Deleting .build/ ...'
        rm -rf $(BUILD_DIR)
@@ -579,6 +582,7 @@ lib/%:
        git submodule sync $?
        git submodule update --init $?
 
+.PHONY: git-submodule
 git-submodule:
        git submodule sync --recursive
        git submodule update --init --recursive --progress