diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2018-04-04 02:30:05 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2018-04-04 02:30:05 +0200 |
commit | 0c920c9dc7b7c5ee050747a13d4a06e136397bcb (patch) | |
tree | d523e21c55847c066a3f649dbab749e6a7d4b7b9 | |
parent | 7e05ef1bfe7eb47a4acb44f6e0d8f70069451b00 (diff) |
statify
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -6,9 +6,14 @@ GenBkBasB.c: GenBkBasB.ttf | |||
6 | SourceCodePro-Semibold.c: SourceCodePro-Semibold.ttf | 6 | SourceCodePro-Semibold.c: SourceCodePro-Semibold.ttf |
7 | xxd -i $< $@ | 7 | xxd -i $< $@ |
8 | 8 | ||
9 | SDL_LIBRARIES=/usr/local/lib/libSDL2.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2_gfx.a /usr/local/lib/libSDL2_ttf.a | ||
10 | SDL_DEPEND_FRAMEWORKS=-framework Carbon -framework Cocoa -framework CoreAudio -framework AudioToolbox -framework CoreVideo -framework ForceFeedback -framework IOKit | ||
11 | SDL_DEPEND_LIBRARIES=/usr/local/lib/libpng.a /usr/local/lib/libfreetype.a -lbz2 -liconv -lz | ||
12 | |||
9 | main: 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 | 13 | main: 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 |
13 | clean: | 18 | clean: |
14 | rm -f Laserharfe GenBkBasB.c | 19 | rm -f Laserharfe GenBkBasB.c SourceCodePro-Semibold.c |