diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 14:46:51 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 14:46:51 +0200 |
commit | a8be0d3d20f07d4561826b01f566ca307eb23526 (patch) | |
tree | b2c5c6d513ae3a84aba8e4eea94ec32e46d352fa /Makefile |
commit as a backup
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
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 @@ | |||
1 | all: main | ||
2 | |||
3 | GenBkBasB.c: GenBkBasB.ttf | ||
4 | xxd -i $< $@ | ||
5 | |||
6 | main: 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 | ||
10 | clean: | ||
11 | rm -f Laserharfe GenBkBasB.c | ||