summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4f5ed44b68f0b9baa2724c03b9c215e8725ec2fc (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.c midi.h GenBkBasB.c GenBkBasB.h
	cc -O2 -o Laserharfe main-sdl.c config.c display.c engine.c midi.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