summaryrefslogtreecommitdiff
path: root/games/neverball/files/patch-Makefile
blob: 47d7e850d1217f0c33169fd1605f0f23f2c05fd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Makefile.orig	Sun Apr 18 13:24:48 2004
+++ Makefile	Sun Apr 18 13:24:54 2004
@@ -3,20 +3,20 @@
 
 # Maybe you need one of these.  Maybe you don't.
 
-#X11_PATH= -L/usr/X11/lib
-#X11_PATH= -L/usr/X11R6/lib
+X11_PATH= -L${X11BASE}/lib
+X11_PATHI= -I${X11BASE}/include
 
 OGL_LIBS= -lGLU -lGL -lm
 #OGL_LIBS= -lm                                                # Think Different
 
 #------------------------------------------------------------------------------
 
-CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)
+CFLAGS+= -Wall -ansi $(shell ${SDL_CONFIG} --cflags) ${X11_PATHI}
 #CFLAGS= -Wall -g -ansi $(shell sdl-config --cflags)
 #CFLAGS= -Wall -pg -ansi $(shell sdl-config --cflags)
 
-SDL_LIBS= $(shell sdl-config --libs)
-FT2_LIBS= $(shell freetype-config --libs)
+SDL_LIBS= $(shell ${SDL_CONFIG} --libs)
+FT2_LIBS= $(shell %%FREETYPE_CONFIG%% --libs)
 
 MAPC_TARG= mapc
 BALL_TARG= neverball