summaryrefslogtreecommitdiff
path: root/Makefile
blob: 185ecebeb58411c540dfc7cd120073b82f981ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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