summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4f5ed44
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
1all: main
2
3GenBkBasB.c: GenBkBasB.ttf
4 xxd -i $< $@
5
6main: main-sdl.c display.c config.c display.h config.h engine.c engine.h midi.c midi.h GenBkBasB.c GenBkBasB.h
7 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
8
9.PHONY: clean
10clean:
11 rm -f Laserharfe GenBkBasB.c