23 lines
463 B
Makefile
23 lines
463 B
Makefile
# TODO: targets and dependencies?
|
|
.PHONY: build sleep
|
|
build:
|
|
@bash build.bash
|
|
|
|
flash-left:
|
|
@sudo fish flash.fish ./build/sofle_left_nice_nano.uf2
|
|
|
|
flash-right:
|
|
@sudo fish flash.fish ./build/sofle_right_nice_nano.uf2
|
|
|
|
sleep:
|
|
echo "Sleeping for 2 seconds for disks to fully sync and unmount..."
|
|
@sleep 2
|
|
|
|
clean: pull
|
|
@sudo rm -r .cache build
|
|
|
|
pull:
|
|
@docker pull docker.io/zmkfirmware/zmk-build-arm:stable
|
|
|
|
everything: pull build flash-left sleep flash-right
|