[quake3-commits] r2118 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Aug 1 08:48:31 EDT 2011
Author: thilo
Date: 2011-08-01 08:48:31 -0400 (Mon, 01 Aug 2011)
New Revision: 2118
Modified:
trunk/Makefile
Log:
Make client/server cflags configurable
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-08-01 11:53:59 UTC (rev 2117)
+++ trunk/Makefile 2011-08-01 12:48:31 UTC (rev 2118)
@@ -274,8 +274,7 @@
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-pipe -DUSE_ICON
- CLIENT_CFLAGS = $(SDL_CFLAGS)
- SERVER_CFLAGS =
+ CLIENT_CFLAGS += $(SDL_CFLAGS)
ifeq ($(USE_OPENAL),1)
CLIENT_CFLAGS += -DUSE_OPENAL
@@ -396,8 +395,6 @@
OPTIMIZEVM=
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
- CLIENT_CFLAGS =
- SERVER_CFLAGS =
ifeq ($(ARCH),ppc)
BASE_CFLAGS += -faltivec
@@ -487,8 +484,6 @@
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON
- CLIENT_CFLAGS =
- SERVER_CFLAGS =
# In the absence of wspiapi.h, require Windows XP or later
ifeq ($(shell test -e $(CMDIR)/wspiapi.h; echo $$?),1)
@@ -535,7 +530,7 @@
BINEXT=.exe
LIBS= -lws2_32 -lwinmm -lpsapi
- CLIENT_LDFLAGS = -mwindows
+ CLIENT_LDFLAGS += -mwindows
CLIENT_LIBS = -lgdi32 -lole32 -lopengl32
ifeq ($(USE_CURL),1)
@@ -596,8 +591,7 @@
BASE_CFLAGS = $(shell env MACHINE_ARCH=$(ARCH) make -f /dev/null -VCFLAGS) \
-Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
- CLIENT_CFLAGS = $(SDL_CFLAGS)
- SERVER_CFLAGS =
+ CLIENT_CFLAGS += $(SDL_CFLAGS)
HAVE_VM_COMPILED = true
OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
@@ -662,8 +656,7 @@
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
- CLIENT_CFLAGS = $(SDL_CFLAGS)
- SERVER_CFLAGS =
+ CLIENT_CFLAGS += $(SDL_CFLAGS)
ifeq ($(USE_OPENAL),1)
CLIENT_CFLAGS += -DUSE_OPENAL
@@ -732,8 +725,6 @@
THREAD_LIBS=-lpthread
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
- CLIENT_CFLAGS =
- SERVER_CFLAGS =
ifneq ($(ARCH),i386)
BASE_CFLAGS += -DNO_VM_COMPILED
@@ -757,7 +748,7 @@
BASE_CFLAGS=-Dstricmp=strcasecmp -Xcpluscomm -woff 1185 \
-I. -I$(ROOT)/usr/include -DNO_VM_COMPILED
- CLIENT_CFLAGS = $(SDL_CFLAGS)
+ CLIENT_CFLAGS += $(SDL_CFLAGS)
OPTIMIZE = -O3
SHLIBEXT=so
@@ -797,8 +788,7 @@
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-pipe -DUSE_ICON
- CLIENT_CFLAGS = $(SDL_CFLAGS)
- SERVER_CFLAGS =
+ CLIENT_CFLAGS += $(SDL_CFLAGS)
OPTIMIZEVM = -O3 -funroll-loops
More information about the quake3-commits
mailing list