Lines 6-22
Link Here
|
6 |
|
6 |
|
7 |
-CC = gcc |
7 |
-CC = gcc |
8 |
-CFLAGS = -I.. -I../gwnum -I/usr/local/include -O2 -march=i486 -malign-double |
8 |
-CFLAGS = -I.. -I../gwnum -I/usr/local/include -O2 -march=i486 -malign-double |
9 |
+CC = cc |
9 |
+#CC = cc |
10 |
+CFLAGS = -I.. -I../gwnum -I%%LOCALBASE%%/include -O2 -march=i486 |
10 |
+CFLAGS = -I.. -I../gwnum -I%%LOCALBASE%%/include -O2 -march=i486 |
11 |
|
11 |
|
12 |
-CPP = g++ |
12 |
-CPP = g++ |
13 |
-CPPFLAGS = -I.. -I../gwnum -I/usr/local/include -O2 -march=i486 -malign-double |
13 |
-CPPFLAGS = -I.. -I../gwnum -I/usr/local/include -O2 -march=i486 -malign-double |
14 |
+CPP = cc |
14 |
+CPP = ${CXX} |
15 |
+CPPFLAGS = -I.. -I../gwnum -I%%LOCALBASE%%/include -O2 -march=i486 |
15 |
+CPPFLAGS = ${CXXFLAGS} -I.. -I../gwnum -I%%LOCALBASE%%/include -O2 -march=i486 |
16 |
|
16 |
|
17 |
-LFLAGS = -Wl,-M -L/usr/local/lib |
17 |
-LFLAGS = -Wl,-M -L/usr/local/lib |
18 |
-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic /usr/local/lib/libhwloc.a -Wl,-Bstatic /usr/local/lib/libcurl.a -lz -lcompat -lstdc++ -Wl,-Bdynamic -lssl -lgmp |
18 |
-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic /usr/local/lib/libhwloc.a -Wl,-Bstatic /usr/local/lib/libcurl.a -lz -lcompat -lstdc++ -Wl,-Bdynamic -lssl -lgmp |
19 |
+LFLAGS = -L%%LOCALBASE%%/lib |
19 |
+LFLAGS = -L%%LOCALBASE%%/lib ${LDFLAGS} |
20 |
+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lcurl -lhwloc -lz -lcompat -lssl -lgmp |
20 |
+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lcurl -lhwloc -lz -lcompat -lssl -lgmp |
21 |
|
21 |
|
22 |
FACTOROBJ = factor32.o |
22 |
FACTOROBJ = factor32.o |