22 lines
557 B
Makefile
22 lines
557 B
Makefile
.PHONY: default
|
|
default: build
|
|
|
|
.PHONY: build
|
|
build: submodules
|
|
@mkdir -p ../planck/lib/qmk_firmware/keyboards/handwired/splyte/
|
|
@cp -r src/* ../planck/lib/qmk_firmware/keyboards/handwired/splyte/
|
|
@pushd ../planck/lib/qmk_firmware/ && make handwired/splyte
|
|
|
|
.PHONY: submodules
|
|
submodules:
|
|
git submodule init
|
|
git submodule update
|
|
@pushd ../planck/lib/qmk_firmware/ && make git-submodule
|
|
|
|
.PHONY: flash
|
|
flash: build
|
|
@pushd ../planck/lib/qmk_firmware/ && make handwired/splyte:avrdude
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@pushd ../planck/qmk_firmware/ && make clean
|