1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Index: vmmlib-1.0/Makefile
===================================================================
--- vmmlib-1.0.orig/Makefile
+++ vmmlib-1.0/Makefile
@@ -27,7 +27,7 @@ VMMLIB_UNIT_TESTS =\
VMMLIB_UNIT_TESTS_OBJECTS = ${VMMLIB_UNIT_TESTS:%.cpp=%.o}
-CXXFLAGS += -I. -Iinclude -Itests -include stdint.h
+CXXFLAGS += -I. -Iinclude -Itests -include cstdint -include algorithm -include string -include iostream
# Mac OS X specific stuff
# on mac we want to use the frameworks, not the unix style libs
@@ -39,7 +39,7 @@ LDFLAGS += -framework Accelerate
else
# Linux specific stuff
-CXXFLAGS += -include f2c.h -include f2c_fix.h
+CXXFLAGS +=
LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),64)
@@ -52,8 +52,8 @@ CXXFLAGS +=
LDFLAGS +=
# adjust libs depending on your LAPACK and BLAS distribution
-LIBS += -lclapack -lf2c -lcblas -llapack
-# LIBS += -llapack -lblas
+#LIBS += -lclapack -lf2c -lcblas -llapack
+LIBS += -llapack -lblas
|