1
0
Fork 0
forked from fte/fteqw

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4489 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2013-09-30 00:03:16 +00:00
parent 4d9e937626
commit 5bb896392f

View file

@ -308,6 +308,16 @@ ifeq ($(FTE_TARGET),morphos)
endif
ifeq ($(FTE_TARGET),bsd)
BASELDFLAGS=-lm
VISIBILITY_FLAGS=-fvisibility=hidden
endif
ifeq ($(FTE_TARGET),linux)
VISIBILITY_FLAGS=-fvisibility=hidden
endif
ifeq ($(FTE_TARGET),droid)
VISIBILITY_FLAGS=-fvisibility=hidden
endif
ifeq ($(FTE_TARGET),macosx)
VISIBILITY_FLAGS=-fvisibility=hidden
endif
BASELDFLAGS ?= -lm -ldl -lpthread
@ -330,6 +340,7 @@ endif
IMAGELDFLAGS ?= -lpng -ljpeg
OGGVORBISLDFLAGS ?= -lvorbisfile -lvorbis -logg
VISIBILITY_FLAGS?=
#BASELDFLAGS=-lm -lz
XLDFLAGS=$(IMAGELDFLAGS)
@ -338,11 +349,9 @@ XLDFLAGS=$(IMAGELDFLAGS)
ifeq ($(FTE_TARGET),vc)
WARNINGFLAGS=-W3 -D_CRT_SECURE_NO_WARNINGS
GNUC_FUNCS=
VISIBILITY_FLAGS=
else
WARNINGFLAGS=-Wall -Wno-pointer-sign -Wno-unknown-pragmas -Wno-format-zero-length
GNUC_FUNCS= -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp
VISIBILITY_FLAGS=-fvisibility=hidden
endif
SDL_INCLUDES=-I$(LIBS_DIR)/sdl/include -I/usr/include/SDL -I$(LIBS_DIR)/sdl/include/SDL