File: fix-makefile

package info (click to toggle)
vmmlib 1.0-2.3
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,500 kB
  • sloc: cpp: 18,832; ansic: 5,684; makefile: 88; sh: 1
file content (33 lines) | stat: -rw-r--r-- 959 bytes parent folder | download
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