8d98df4a37
PR: 231015 Submitted by: yuri@freebsd.org
38 lines
953 B
Text
38 lines
953 B
Text
--- src-crashtest/Makefile.orig 2009-02-15 22:11:31 UTC
|
|
+++ src-crashtest/Makefile
|
|
@@ -1,8 +1,7 @@
|
|
# EDIT THESE SETTINGS
|
|
|
|
-PLIBPREFIX=/usr
|
|
-ODEPREFIX=/usr
|
|
-CXX=g++
|
|
+PLIBPREFIX=${LOCALBASE}
|
|
+ODEPREFIX=${LOCALBASE}
|
|
|
|
#PLIBPREFIX=$(HOME)
|
|
#ODEPREFIX=$(HOME)
|
|
@@ -10,19 +9,17 @@ CXX=g++
|
|
|
|
# END OF CUSTOM SETTINGS
|
|
|
|
-CXXFLAGS=\
|
|
- -I$(ODEPREFIX)/include \
|
|
+CXXFLAGS+=\
|
|
+ `pkg-config --cflags ode` \
|
|
-I$(PLIBPREFIX)/include \
|
|
- -I../src-common \
|
|
- -O2 -g -Wall
|
|
+ -I../src-common
|
|
|
|
LFLAGS=\
|
|
- -L$(PLIBPREFIX)/lib \
|
|
- -L/usr/X11R6/lib
|
|
+ -L$(PLIBPREFIX)/lib
|
|
|
|
OBJS=staticworldobject.o crashtest.o dynamicobject.o cartobject.o
|
|
|
|
-LIBS= $(ODEPREFIX)/lib/libode.a -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL `fltk-config --use-gl --use-images --ldflags`
|
|
+LIBS= `pkg-config --libs ode` -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL `fltk-config --use-gl --use-images --ldflags`
|
|
|
|
|
|
all: crashtest
|