Mercurial > repos > blastem
diff Makefile @ 2007:f612c1bd2c8b
Specify min OS X version when making a "portable" build for that platform
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 16 Oct 2020 22:12:48 -0700 |
parents | 7a6835c02db0 |
children | 33f454232aee |
line wrap: on
line diff
--- a/Makefile Fri Oct 16 21:40:47 2020 -0700 +++ b/Makefile Fri Oct 16 22:12:48 2020 -0700 @@ -97,7 +97,8 @@ ifeq ($(OS),Darwin) SDL_INCLUDE_PATH:=Frameworks/SDL2.framework/Headers -LDFLAGS+= -FFrameworks -framework SDL2 -framework OpenGL -framework AppKit +CFLAGS+= -mmacosx-version-min=10.10 +LDFLAGS+= -FFrameworks -framework SDL2 -framework OpenGL -framework AppKit -mmacosx-version-min=10.10 FIXUP:=install_name_tool -change @rpath/SDL2.framework/Versions/A/SDL2 @executable_path/Frameworks/SDL2.framework/Versions/A/SDL2 else SDL_INCLUDE_PATH:=sdl/include