mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
Merge pull request #207 from smcv/system-openal
Only use /usr/local/opt/openal-soft on Darwin
This commit is contained in:
commit
837f017016
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -430,8 +430,12 @@ else
|
|||
release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so.1"' -DDLOPEN_OPENAL
|
||||
endif
|
||||
else # !DLOPEN_OPENAL
|
||||
release/quake2 : CFLAGS += -DUSE_OPENAL -I/usr/local/opt/openal-soft/include
|
||||
release/quake2 : LDFLAGS += -lopenal -L/usr/local/opt/openal-soft/lib
|
||||
release/quake2 : CFLAGS += -DUSE_OPENAL
|
||||
release/quake2 : LDFLAGS += -lopenal
|
||||
ifeq ($(YQ2_OSTYPE), Darwin)
|
||||
release/quake2 : CFLAGS += -I/usr/local/opt/openal-soft/include
|
||||
release/quake2 : LDFLAGS += -L/usr/local/opt/openal-soft/lib
|
||||
endif # Darwin
|
||||
endif # !DLOPEN_OPENAL
|
||||
endif # WITH_OPENAL
|
||||
|
||||
|
|
Loading…
Reference in a new issue