diff options
Diffstat (limited to 'science/libsvm/files/patch-Makefile')
-rw-r--r-- | science/libsvm/files/patch-Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/science/libsvm/files/patch-Makefile b/science/libsvm/files/patch-Makefile index 800400c3b960..f45745ff642e 100644 --- a/science/libsvm/files/patch-Makefile +++ b/science/libsvm/files/patch-Makefile @@ -1,16 +1,9 @@ ---- Makefile.orig Sat Sep 22 23:04:16 2001 -+++ Makefile Fri May 10 14:40:09 2002 -@@ -1,5 +1,5 @@ +--- Makefile.orig Tue Nov 16 00:45:06 2004 ++++ Makefile Tue Nov 16 00:46:01 2004 +@@ -1,5 +1,4 @@ -CXXC = g++ --CFLAGS = -Wall -O3 -g -+CXXC = ${CXX} -+CFLAGS += -g +-CFLAGS = -Wall -O3 ++CXXC = $(CXX) all: svm-train svm-predict svm-scale -@@ -13,3 +13,5 @@ - $(CXXC) $(CFLAGS) -c svm.cpp - clean: - rm -f *~ svm.o svm-train svm-predict svm-scale -+py: -+ cd python; $(MAKE) PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} |