23 lines
520 B
Makefile
23 lines
520 B
Makefile
|
.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
|