freebsd-ports/games/BillardGL/files/patch-Makefile
Kirill Ponomarev 046c7d98be Add BillardGL 1.75, an OpenGL billiard simulator.
PR:		60847
Submitted by:	Igor Pokrovsky <tiamat@comset.net>
2004-01-07 08:44:10 +00:00

24 lines
633 B
Text

--- 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${X11BASE}/include
+LINK = ${CXX}
LFLAGS =
-LIBS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
+LIBS = -L${X11BASE}/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
## -lqgl -lGLU