mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 08:56:59 +00:00
parent
aa78aacdf3
commit
45db9977a0
6
Makefile
6
Makefile
@ -4,10 +4,6 @@
|
|||||||
# Run `brew install sdl12-compat sdl_gfx sdl_mixer sdl_ttf glew`
|
# Run `brew install sdl12-compat sdl_gfx sdl_mixer sdl_ttf glew`
|
||||||
# Run "make" to build HyperRogue as ./hyperrogue.
|
# Run "make" to build HyperRogue as ./hyperrogue.
|
||||||
#
|
#
|
||||||
# As a workaround to a build error, macOS users will have
|
|
||||||
# to manually edit `$(brew --prefix)/include/SDL/SDL_gfxPrimitives.h` at
|
|
||||||
# line 38 to use quote include.
|
|
||||||
#
|
|
||||||
# For MSYS2 and MinGW-w64:
|
# For MSYS2 and MinGW-w64:
|
||||||
# You might need to run commands such as "pacman -S mingw-w64-x86_64-SDL"
|
# You might need to run commands such as "pacman -S mingw-w64-x86_64-SDL"
|
||||||
# to install SDL and other required libraries.
|
# to install SDL and other required libraries.
|
||||||
@ -70,7 +66,7 @@ endif
|
|||||||
|
|
||||||
ifeq (${OS},osx)
|
ifeq (${OS},osx)
|
||||||
HOMEBREW_PREFIX := $(shell brew --prefix)
|
HOMEBREW_PREFIX := $(shell brew --prefix)
|
||||||
CXXFLAGS_EARLY += -DMAC -I$(HOMEBREW_PREFIX)/include
|
CXXFLAGS_EARLY += -DMAC -I$(HOMEBREW_PREFIX)/include -I$(HOMEBREW_PREFIX)/include/SDL
|
||||||
EXE_EXTENSION :=
|
EXE_EXTENSION :=
|
||||||
LDFLAGS_EARLY += -L$(HOMEBREW_PREFIX)/lib
|
LDFLAGS_EARLY += -L$(HOMEBREW_PREFIX)/lib
|
||||||
LDFLAGS_GL := -framework AppKit -framework OpenGL
|
LDFLAGS_GL := -framework AppKit -framework OpenGL
|
||||||
|
Loading…
Reference in New Issue
Block a user