Skip to content

Instantly share code, notes, and snippets.

@Lytol
Created March 6, 2015 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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