4a4b5e4725
o some Makefile style files: use DOCSDIR and extraneous space removals o support NOPORTDOCS PR: 29482 Submitted by: Patrick Li <pat@databits.net>
25 lines
780 B
Text
25 lines
780 B
Text
--- Makefile.orig Thu Sep 2 22:25:18 1999
|
|
+++ Makefile Mon Aug 6 00:46:04 2001
|
|
@@ -1,17 +1,14 @@
|
|
-CXX = g++
|
|
-
|
|
# If you don't have OpenGL or Mesa, you can still compile BattleBall;
|
|
# just define the symbol NO_OPENGL when compiling, and don't link with
|
|
# $(GLLIBS) when linking
|
|
-CXXFLAGS = -O2 -funroll-loops
|
|
-#CXXFLAGS = -O2 -funroll-loops -DNO_OPENGL
|
|
+CXXFLAGS += ${PTHREAD_CFLAGS}
|
|
|
|
INCS = -Ibsp -Ilib3d
|
|
-XLIBS = -L/usr/X11R6/lib -lX11
|
|
-LIBS = -lm $(XLIBS)
|
|
+XLIBS = -L$(X11BASE)/lib -lX11
|
|
+LIBS = -lm $(XLIBS) ${PTHREAD_LIBS}
|
|
|
|
-GLINCS = -I/usr/local/X11/include
|
|
-GLLIBS = -lXi -lXmu -lXext -L/usr/local/X11/lib -lMesaGL
|
|
+GLINCS = -I$(X11BASE)/include
|
|
+GLLIBS = -lXi -lXmu -lXext -L$(X11BASE)/lib -lGL
|
|
#GLLIBS =
|
|
|
|
BSPOBJS = bsp/brep.o bsp/bsp.o bsp/polygon.o
|