mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Enabled zlib, png & jpeg support in MacOSX.
If GCC complains about missing headers for libjpeg and libpng: 1. Install Darwin Ports from darwinports.com. 2. export PATH=$PATH:/opt/local/bin 3. sudo port -d selfupdate 4. sudo port install libpng 5. sudo port install jpeg git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3316 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a976ac2428
commit
2e10193d27
2 changed files with 3 additions and 3 deletions
|
@ -660,8 +660,8 @@ ifneq ($(shell echo $(FTE_TARGET)|grep macosx),)
|
|||
GLCL_DIR=glcl_macosx$(EXTENSION)$(BITS)
|
||||
MINGL_DIR=mingl_macosx$(EXTENSION)$(BITS)
|
||||
|
||||
GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__
|
||||
GL_LDFLAGS=-framework AGL -framework OpenGL -framework Cocoa -framework AudioUnit
|
||||
GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__ -L/opt/local/lib -I/opt/local/include
|
||||
GL_LDFLAGS=-framework AGL -framework OpenGL -framework Cocoa -framework AudioUnit -lz -lpng -ljpeg
|
||||
GLCL_OBJS=$(GL_OBJS) $(GLQUAKE_OBJS) gl_vidcocoa.mo gl_vidmacos.o sys_linux.o in_macos.o cd_null.o snd_macos.o
|
||||
|
||||
GL_EXE_NAME=../macosx_fteqw.gl$(EXTENSION)$(BITS)
|
||||
|
|
|
@ -54,7 +54,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#endif
|
||||
#define AVAIL_MASM
|
||||
|
||||
#ifdef MINGW
|
||||
#if defined(MINGW) || defined(MACOSX)
|
||||
#define AVAIL_PNGLIB
|
||||
#define AVAIL_ZLIB
|
||||
#define AVAIL_JPEGLIB
|
||||
|
|
Loading…
Reference in a new issue