git-svn-id: https://svn.eduke32.com/eduke32@586 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2007-12-13 17:38:46 +00:00
parent 717d839815
commit d6739cc554
3 changed files with 12 additions and 8 deletions

View file

@ -19,6 +19,7 @@ POLYMOST ?= 1
USE_OPENGL ?= 1
NOASM ?= 0
LINKED_GTK ?= 0
BUILD32_ON_64 ?= 1
# Debugging options
# RELEASE - 1 = no debugging

View file

@ -48,14 +48,16 @@ endif
ifeq ($(PLATFORM),LINUX)
RENDERTYPE=SDL
GTKCOMPAT32=0
ifeq ($(findstring x86_64,$(shell uname -m)),x86_64)
# on my 64bit Gentoo these are the 32bit emulation libs
LIBS+= -m32 -L/emul/linux/x86/usr/lib
BUILDCFLAGS+= -m32
#override WITHOUT_GTK=0
GTKCOMPAT32=1
else
GTKCOMPAT32=0
ifeq (1,$(BUILD32_ON_64))
# on my 64bit Gentoo these are the 32bit emulation libs
LIBS+= -m32 -L/emul/linux/x86/usr/lib
BUILDCFLAGS+= -m32
#override WITHOUT_GTK=0
GTKCOMPAT32=1
endif
endif
endif
ifeq ($(PLATFORM),WINDOWS)

View file

@ -9,6 +9,7 @@ POLYMOST = 1
USE_OPENGL = 1
NOASM = 0
LINKED_GTK = 0
BUILD32_ON_64 = 1
# Debugging options
RELEASE?=1
@ -206,7 +207,7 @@ enginelib editorlib:
-mkdir -p $(EOBJ)
$(MAKE) -C $(EROOT)/ "OBJ=$(CURDIR)/$(EOBJ)" \
SUPERBUILD=$(SUPERBUILD) POLYMOST=$(POLYMOST) \
USE_OPENGL=$(USE_OPENGL) \
USE_OPENGL=$(USE_OPENGL) BUILD32_ON_64=$(BUILD32_ON_64) \
NOASM=$(NOASM) RELEASE=$(RELEASE) $@
$(EOBJ)/$(ENGINELIB): enginelib