Skip to content

Instantly share code, notes, and snippets.

@Lytol
Created March 6, 2015 06:05
Show Gist options
  • Save Lytol/314f01b02bca427a265d to your computer and use it in GitHub Desktop.
Save Lytol/314f01b02bca427a265d to your computer and use it in GitHub Desktop.
SHELL = /bin/bash
all: build
prepare:
cp *.kll controller/kll/layouts/
cd build; cmake ../controller; cd ..
build: prepare
cd build; make; cd ..
cp build/kiibohd.dfu.bin lytol.bin
flash:
dfu-util -D lytol.bin
clean:
rm -rf lytol.bin build/*
.PHONY: prepare build flash clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment