keyboards/planck/Makefile

23 lines
520 B
Makefile
Raw Permalink Normal View History

2019-12-20 13:39:50 -06:00
.PHONY: default
default: build
.PHONY: build
build: submodules
@mkdir -p lib/qmk_firmware/keyboards/planck/keymaps/lytedev/
@cp -r src/* lib/qmk_firmware/keyboards/planck/keymaps/lytedev/
@pushd lib/qmk_firmware/ && make planck/rev2:lytedev
.PHONY: flash
flash: build
@pushd lib/qmk_firmware/ && sudo make planck/rev2:lytedev:dfu
.PHONY: clean
clean:
@pushd lib/qmk_firmware/ && make clean
.PHONY: submodules
submodules:
git submodule init
git submodule update
@pushd lib/qmk_firmware/ && make git-submodule