Blob Blame History Raw
diff -up libkdtree++_0.7.0/examples/Makefile.examples-optflags libkdtree++_0.7.0/examples/Makefile
--- libkdtree++_0.7.0/examples/Makefile.examples-optflags	2012-06-22 16:06:08.606979679 -0700
+++ libkdtree++_0.7.0/examples/Makefile	2012-06-22 16:06:37.839978228 -0700
@@ -1,10 +1,10 @@
 all: test_kdtree test_hayne
 
 test_kdtree: test_kdtree.cpp
-	g++ -I.. -Wall -ansi -pedantic -g -O2 -o test_kdtree test_kdtree.cpp
+	g++ -I.. $(CPPFLAGS) -o test_kdtree test_kdtree.cpp
 
 test_hayne: test_hayne.cpp
-	g++ -I.. -Wall -ansi -pedantic -g -O2 -o test_hayne test_hayne.cpp
+	g++ -I.. $(CPPFLAGS) -o test_hayne test_hayne.cpp
 
 all_gcc: test_kdtree-gcc3.4 test_kdtree-gcc4.3 test_kdtree-gcc4.2