aboutsummaryrefslogtreecommitdiff
path: root/games/redeclipse/files/patch-src_Makefile
blob: 3f81b0865394d9d970199de4cddf92e6b7fd9402 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/Makefile	Mon Aug 14 01:31:27 2006
+++ src/Makefile	Mon Aug 14 01:34:53 2006
@@ -1,9 +1,8 @@
-CXX=g++
-CXXOPTFLAGS=-Wall -fsigned-char	-O3 -fomit-frame-pointer
-CXXFLAGS=$(CXXOPTFLAGS)	-Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags`
+CXX?=g++
+CXXFLAGS+=-Ienet/include -I. -Ishared -Iengine -Ifpsgame `$(SDL_CONFIG) --cflags` -I$(X11BASE)/include
 
-PLATFORM_PREFIX=linux
-CLIENT_LIBS=-Lenet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU 
+PLATFORM_PREFIX=FreeBSD
+CLIENT_LIBS=-Lenet -lenet `$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer -lz -L$(X11BASE)/lib -lGL -lGLU 
 CLIENT_OBJS= \
 	shared/tools.o \
 	shared/geom.o \