Package: calculix-ccx / 2.11-1

0001-Adjust-Makefile-for-Build-with-Debian.patch Patch series | 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
Description: Adjust Makefile for Build with Debian
Forwarded: not-needed
Author: Wolfgang F├╝tterer <debian@wlf-online.de> 
Last-Update: 2016-08-08

---
 ccx_2.11/src/Makefile | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/ccx_2.11/src/Makefile b/ccx_2.11/src/Makefile
index ea5e025..462d650 100755
--- a/ccx_2.11/src/Makefile
+++ b/ccx_2.11/src/Makefile
@@ -18,16 +18,10 @@ OCCXF = $(SCCXF:.f=.o)
 OCCXC = $(SCCXC:.c=.o)
 OCCXMAIN = $(SCCXMAIN:.c=.o)
 
-DIR=../../../SPOOLES.2.2
+LIBS =  -lspooles -lpthread -larpack -llapack -lblas -lm -lc
 
-LIBS = \
-       $(DIR)/spooles.a \
-	../../../ARPACK/libarpack_INTEL.a \
-       -lpthread -lm -lc
-
-ccx_2.11: $(OCCXMAIN) ccx_2.11.a  $(LIBS)
-	./date.pl; $(CC) $(CFLAGS) -c ccx_2.11.c; $(FC) -fopenmp -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.11.a $(LIBS)
+ccx_2.11: $(OCCXMAIN) ccx_2.11.a
+	$(CC) $(CFLAGS) -c ccx_2.11.c; $(FC) -fopenmp -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.11.a $(LIBS)
 
 ccx_2.11.a: $(OCCXF) $(OCCXC)
 	ar vr $@ $?
-