summaryrefslogtreecommitdiff
path: root/Makefile
blob: 622150b4f09a5636c7c49fe403d2810c0d63e516 (plain)
1
2
3
4
5
6
7
8
9
10
11
all: main

GenBkBasB.c: GenBkBasB.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 midi-noop.c midi.h GenBkBasB.c GenBkBasB.h
	cc -g -o Laserharfe main-sdl.c calib.c config.c display.c engine.c geometry.c midi-noop.c GenBkBasB.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