summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-02-03 01:26:35 +1100
committerDrashna Jaelre <drashna@live.com>2019-02-05 09:49:24 -0800
commit6172273c866637c06150647cacf1477d8c8075c9 (patch)
tree6da6874d693b496676bfbfa6e7f21b20b8bebbc2
parentcb1aeb425488aaff11416caa0960c8b87801baf5 (diff)
downloadqmk_firmware-6172273c866637c06150647cacf1477d8c8075c9.tar.gz
qmk_firmware-6172273c866637c06150647cacf1477d8c8075c9.zip
These targets should be .PHONY
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 73fd8dc890..c7dda23dc6 100644
--- 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