all: bcr2000.bcl midiroute.elf

clean:
	rm -f *~ bcr2000.bcl *.elf

%.bcl: %.rawmidi
	rm -f $@
	racket cmd.rkt midi2bcl $< $@

%.elf: %.c
	gcc -o $@ $<