Skip to content

Commit

Permalink
These targets should be .PHONY
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and drashna committed Feb 5, 2019
1 parent cb1aeb4 commit 6172273
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6172273

Please sign in to comment.