summaryrefslogtreecommitdiff
path: root/games/BillardGL/files/patch-Makefile
blob: 0f8512727591171f3ce8bb4cfce843ccf247a2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Makefile.orig	Sat Jan  3 16:30:14 2004
+++ Makefile	Sat Jan  3 16:32:08 2004
@@ -5,14 +5,14 @@
 
 ####### Compiler, tools and options
 
-CC	=	gcc
-CXX	=	g++
-CFLAGS	=	-pipe -Wall -W -DNO_DEBUG -g
-CXXFLAGS=	-pipe -Wall -W -DNO_DEBUG -g 
-INCPATH	=	-I/usr/X11R6/include 
-LINK	=	g++
+CC	?=	gcc
+CXX	?=	g++
+CFLAGS	+=	-pipe -Wall -W -DNO_DEBUG -g
+CXXFLAGS+=	-pipe -Wall -W -DNO_DEBUG -g 
+INCPATH	=	-I${LOCALBASE}/include 
+LINK	= 	${CXX}
 LFLAGS	=	
-LIBS	=	-L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
+LIBS	=	-L${LOCALBASE}/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
 
 ## -lqgl -lGLU