diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -112,6 +112,7 @@ $(eval $(call GET_KEYBOARDS)) | |||
| 112 | # Only consider folders with makefiles, to prevent errors in case there are extra folders | 112 | # Only consider folders with makefiles, to prevent errors in case there are extra folders |
| 113 | #KEYBOARDS += $(patsubst $(ROOD_DIR)/keyboards/%/rules.mk,%,$(wildcard $(ROOT_DIR)/keyboards/*/*/rules.mk)) | 113 | #KEYBOARDS += $(patsubst $(ROOD_DIR)/keyboards/%/rules.mk,%,$(wildcard $(ROOT_DIR)/keyboards/*/*/rules.mk)) |
| 114 | 114 | ||
| 115 | .PHONY: list-keyboards | ||
| 115 | list-keyboards: | 116 | list-keyboards: |
| 116 | echo $(KEYBOARDS) | 117 | echo $(KEYBOARDS) |
| 117 | exit 0 | 118 | exit 0 |
| @@ -120,10 +121,12 @@ define PRINT_KEYBOARD | |||
| 120 | $(info $(PRINTING_KEYBOARD)) | 121 | $(info $(PRINTING_KEYBOARD)) |
| 121 | endef | 122 | endef |
| 122 | 123 | ||
| 124 | .PHONY: generate-keyboards-file | ||
| 123 | generate-keyboards-file: | 125 | generate-keyboards-file: |
| 124 | $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD))) | 126 | $(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD))) |
| 125 | exit 0 | 127 | exit 0 |
| 126 | 128 | ||
| 129 | .PHONY: clean | ||
| 127 | clean: | 130 | clean: |
| 128 | echo 'Deleting .build/ ...' | 131 | echo 'Deleting .build/ ...' |
| 129 | rm -rf $(BUILD_DIR) | 132 | rm -rf $(BUILD_DIR) |
| @@ -579,6 +582,7 @@ lib/%: | |||
| 579 | git submodule sync $? | 582 | git submodule sync $? |
| 580 | git submodule update --init $? | 583 | git submodule update --init $? |
| 581 | 584 | ||
| 585 | .PHONY: git-submodule | ||
| 582 | git-submodule: | 586 | git-submodule: |
| 583 | git submodule sync --recursive | 587 | git submodule sync --recursive |
| 584 | git submodule update --init --recursive --progress | 588 | git submodule update --init --recursive --progress |
