mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4527 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
31c072501f
commit
ef8a74fe1c
1 changed files with 16 additions and 16 deletions
|
@ -323,22 +323,22 @@ ifeq ($(FTE_TARGET),macosx)
|
|||
endif
|
||||
BASELDFLAGS ?= -lm -ldl -lpthread
|
||||
|
||||
#ifeq ($(shell echo $(FTE_TARGET)|grep -v win),)
|
||||
# BASELDFLAGS=-lm
|
||||
# MINGW_LIBS_DIR=$(LIBS_DIR)/mingw-libs
|
||||
#
|
||||
# ifeq ($(shell echo $(FTE_TARGET)|grep -v win64),)
|
||||
# MINGW_LIBS_DIR=$(LIBS_DIR)/mingw64-libs
|
||||
# endif
|
||||
#
|
||||
# IMAGELDFLAGS=$(MINGW_LIBS_DIR)/libpng.a $(MINGW_LIBS_DIR)/libz.a $(MINGW_LIBS_DIR)/libjpeg.a
|
||||
# OGGVORBISLDFLAGS=$(MINGW_LIBS_DIR)/libvorbisfile.a $(MINGW_LIBS_DIR)/libvorbis.a $(MINGW_LIBS_DIR)/libogg.a
|
||||
#
|
||||
# ifeq ($(shell echo $(FTE_TARGET)|grep -v -i _SDL),)
|
||||
# RELEASE_CFLAGS+= -D_SDL
|
||||
# SDL_LDFLAGS=$(MINGW_LIBS_DIR)/libSDL.a $(MINGW_LIBS_DIR)/libSDLmain.a -L./libs/mingw64-libs
|
||||
# endif
|
||||
#endif
|
||||
ifeq ($(shell echo $(FTE_TARGET)|grep -v win),)
|
||||
BASELDFLAGS=-lm
|
||||
MINGW_LIBS_DIR=$(LIBS_DIR)/mingw-libs
|
||||
|
||||
ifeq ($(shell echo $(FTE_TARGET)|grep -v win64),)
|
||||
MINGW_LIBS_DIR=$(LIBS_DIR)/mingw64-libs
|
||||
endif
|
||||
|
||||
IMAGELDFLAGS=$(MINGW_LIBS_DIR)/libpng.a $(MINGW_LIBS_DIR)/libz.a $(MINGW_LIBS_DIR)/libjpeg.a
|
||||
OGGVORBISLDFLAGS=$(MINGW_LIBS_DIR)/libvorbisfile.a $(MINGW_LIBS_DIR)/libvorbis.a $(MINGW_LIBS_DIR)/libogg.a
|
||||
|
||||
ifeq ($(shell echo $(FTE_TARGET)|grep -v -i _SDL),)
|
||||
RELEASE_CFLAGS+= -D_SDL
|
||||
SDL_LDFLAGS=$(MINGW_LIBS_DIR)/libSDL.a $(MINGW_LIBS_DIR)/libSDLmain.a -L./libs/mingw64-libs
|
||||
endif
|
||||
endif
|
||||
|
||||
IMAGELDFLAGS ?= -lpng -ljpeg
|
||||
OGGVORBISLDFLAGS ?= -lvorbisfile -lvorbis -logg
|
||||
|
|
Loading…
Reference in a new issue