mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Revert to 1172
This commit is contained in:
parent
8ca91d6731
commit
d6f32df425
1 changed files with 3 additions and 13 deletions
14
Makefile
14
Makefile
|
@ -10,12 +10,7 @@ ifeq ($(COMPILE_PLATFORM),darwin)
|
|||
# Apple does some things a little differently...
|
||||
COMPILE_ARCH=$(shell uname -p | sed -e s/i.86/i386/)
|
||||
else
|
||||
ifeq ($(COMPILE_PLATFORM),sunos)
|
||||
# So does SunOS
|
||||
COMPILE_ARCH=$(shell uname -p | sed -e s/i.86/i386/)
|
||||
else
|
||||
COMPILE_ARCH=$(shell uname -m | sed -e s/i.86/i386/)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILE_PLATFORM),mingw32)
|
||||
|
@ -167,7 +162,6 @@ LIB=lib
|
|||
|
||||
INSTALL=install
|
||||
MKDIR=mkdir
|
||||
GREP=grep
|
||||
|
||||
ifeq ($(PLATFORM),linux)
|
||||
|
||||
|
@ -593,11 +587,9 @@ else # ifeq IRIX
|
|||
|
||||
ifeq ($(PLATFORM),sunos)
|
||||
|
||||
CROSS_COMPILING=0
|
||||
CC=gcc
|
||||
INSTALL=ginstall
|
||||
MKDIR=gmkdir
|
||||
GREP=/usr/xpg4/bin/grep
|
||||
COPYDIR="/usr/local/share/games/quake3"
|
||||
|
||||
ifneq (,$(findstring i86pc,$(shell uname -m)))
|
||||
|
@ -639,7 +631,6 @@ ifeq ($(PLATFORM),sunos)
|
|||
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||
endif
|
||||
|
||||
BASE_CFLAGS += -I$(SDL_DIR)/include
|
||||
DEBUG_CFLAGS = $(BASE_CFLAGS) -ggdb -O0
|
||||
|
||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
|
||||
|
@ -883,16 +874,15 @@ BASE_CFLAGS += -DMINSDL_MAJOR=$(MINSDL_MAJOR) \
|
|||
-DMINSDL_PATCH=$(MINSDL_PATCH)
|
||||
|
||||
libversioncheck:
|
||||
ifneq ($(COMPILE_PLATFORM),sunos)
|
||||
@/bin/echo -e "#include \"SDL_version.h\"\n" \
|
||||
"#if SDL_VERSION_ATLEAST(" \
|
||||
"$(MINSDL_MAJOR),$(MINSDL_MINOR),$(MINSDL_PATCH)" \
|
||||
")\nMINSDL_PASSED\n#endif" | \
|
||||
$(CC) $(BASE_CFLAGS) -E - | $(GREP) -q MINSDL_PASSED || \
|
||||
$(CC) $(BASE_CFLAGS) -E - | grep -q MINSDL_PASSED || \
|
||||
( /bin/echo "SDL version" \
|
||||
"$(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \
|
||||
"or greater required" && exit 1 )
|
||||
endif
|
||||
|
||||
|
||||
#############################################################################
|
||||
# CLIENT/SERVER
|
||||
|
|
Loading…
Reference in a new issue