keyboards/zofle/makefile

23 lines
463 B
Makefile
Raw Permalink Normal View History

2023-11-14 09:41:59 -06:00
# TODO: targets and dependencies?
2021-11-08 23:20:01 -06:00
.PHONY: build sleep
build:
@bash build.bash
2021-11-08 23:20:01 -06:00
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
2023-11-14 09:41:59 -06:00
clean: pull
2021-12-06 10:35:56 -06:00
@sudo rm -r .cache build
2023-11-14 09:41:59 -06:00
pull:
@docker pull docker.io/zmkfirmware/zmk-build-arm:stable
everything: pull build flash-left sleep flash-right