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

GenBkBasB.c: GenBkBasB.ttf
	xxd -i $< $@

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