summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2018-04-04 02:30:05 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2018-04-04 02:30:05 +0200
commit0c920c9dc7b7c5ee050747a13d4a06e136397bcb (patch)
treed523e21c55847c066a3f649dbab749e6a7d4b7b9
parent7e05ef1bfe7eb47a4acb44f6e0d8f70069451b00 (diff)
statify
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 185eceb..861ddb7 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,14 @@ GenBkBasB.c: GenBkBasB.ttf
6SourceCodePro-Semibold.c: SourceCodePro-Semibold.ttf 6SourceCodePro-Semibold.c: SourceCodePro-Semibold.ttf
7 xxd -i $< $@ 7 xxd -i $< $@
8 8
9SDL_LIBRARIES=/usr/local/lib/libSDL2.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2_gfx.a /usr/local/lib/libSDL2_ttf.a
10SDL_DEPEND_FRAMEWORKS=-framework Carbon -framework Cocoa -framework CoreAudio -framework AudioToolbox -framework CoreVideo -framework ForceFeedback -framework IOKit
11SDL_DEPEND_LIBRARIES=/usr/local/lib/libpng.a /usr/local/lib/libfreetype.a -lbz2 -liconv -lz
12
9main: 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 13main: 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
10 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 14 cc -O2 -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 $(SDL_LIBRARIES) $(SDL_DEPEND_FRAMEWORKS) $(SDL_DEPEND_LIBRARIES)
15# 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 -static
11 16
12.PHONY: clean 17.PHONY: clean
13clean: 18clean:
14 rm -f Laserharfe GenBkBasB.c 19 rm -f Laserharfe GenBkBasB.c SourceCodePro-Semibold.c