all: main GenBkBasB.c: GenBkBasB.ttf xxd -i $< $@ SourceCodePro-Semibold.c: SourceCodePro-Semibold.ttf xxd -i $< $@ main: main-sdl.c calib.c calib.h config.c config.h display.c display.h engine.c engine.h geometry.c geometry.h menu.c menu.h midi-noop.c midi.h SourceCodePro-Semibold.c cc -g -o Laserharfe main-sdl.c calib.c config.c display.c engine.c geometry.c menu.c midi-noop.c SourceCodePro-Semibold.c -I /usr/local/include -lm -L/usr/local/lib -lSDL2 -framework Cocoa -lSDL2main -lSDL2_ttf -lSDL2_gfx .PHONY: clean clean: rm -f Laserharfe GenBkBasB.c