Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb53e8
)
Add override for CFLAG += for MACOS
author
Bill Lash
<william.lash@gmail.com>
Sat, 22 Jun 2019 04:33:56 +0000
(23:33 -0500)
committer
Bill Lash
<william.lash@gmail.com>
Sat, 22 Jun 2019 04:33:56 +0000
(23:33 -0500)
For some reason, on MACOSX, adding the flags for SDL didn't work
without adding the override directive.
src/sdl/Makefile
patch
|
blob
|
history
diff --git
a/src/sdl/Makefile
b/src/sdl/Makefile
index 570005d87b529537e321cf7c9f754e276cf24dc6..39fa34eccfd434f8bc23a7f33f4161bbf43dd817 100644
(file)
--- a/
src/sdl/Makefile
+++ b/
src/sdl/Makefile
@@
-6,7
+6,7
@@
SDL_PKGS ?= libpng libjpeg sdl2 SDL2_mixer freetype2 zlib
CC = gcc
#CC = clang
-CFLAGS += `pkg-config $(SDL_PKGS) --cflags`
+
override
CFLAGS += `pkg-config $(SDL_PKGS) --cflags`
SOURCES = sf_fonts.c sf_msg_en.c sf_resource.c sf_util.c \
sf_deffont.c sf_ftype.c sf_osfdlg.c sf_sig.c sf_video.c \