keyboards/iris/Makefile

23 lines
602 B
Makefile

.PHONY: default
default: build
.PHONY: build
build: submodules
@mkdir -p ../planck/lib/qmk_firmware/keyboards/keebio/iris/keymaps/lytedev/
@cp -r src/* ../planck/lib/qmk_firmware/keyboards/keebio/iris/keymaps/lytedev/
@pushd ../planck/lib/qmk_firmware/ && make keebio/iris/rev4:lytedev
.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/ && sudo make keebio/iris/rev4:lytedev:flash
.PHONY: clean
clean:
@pushd ../planck/lib/qmk_firmware/ && make clean