|
|
@ -28,7 +28,8 @@ HEX_FILE_PATH=$(OUTPUT_PATH)/$(OUTPUT_FILE_PREFIX).hex
|
|
|
|
ELF_FILE_PATH=$(OUTPUT_PATH)/$(OUTPUT_FILE_PREFIX).elf
|
|
|
|
ELF_FILE_PATH=$(OUTPUT_PATH)/$(OUTPUT_FILE_PREFIX).elf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# default action for `make` is `build`
|
|
|
|
|
|
|
|
build: compile size
|
|
|
|
|
|
|
|
|
|
|
|
astyle:
|
|
|
|
astyle:
|
|
|
|
find . -type f -name \*.cpp |xargs -n 1 astyle --style=google
|
|
|
|
find . -type f -name \*.cpp |xargs -n 1 astyle --style=google
|
|
|
@ -42,8 +43,6 @@ generate-keymaps:
|
|
|
|
dirs:
|
|
|
|
dirs:
|
|
|
|
mkdir -p $(OUTPUT_PATH)
|
|
|
|
mkdir -p $(OUTPUT_PATH)
|
|
|
|
|
|
|
|
|
|
|
|
build: compile size
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
compile: dirs
|
|
|
|
compile: dirs
|
|
|
|
$(ARDUINO_PATH)/arduino-builder \
|
|
|
|
$(ARDUINO_PATH)/arduino-builder \
|
|
|
|
-hardware $(ARDUINO_PATH)/hardware \
|
|
|
|
-hardware $(ARDUINO_PATH)/hardware \
|
|
|
|