keyboards/splyte/Makefile
2020-02-22 14:47:36 -06:00

22 lines
561 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/lib/qmk_firmware/ && make clean