ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / calculix / calculix.patch
blob36048546948c532cb1320ab100540aabde107b87
1 diff --git a/ccx_2.19/src/Makefile b/ccx_2.19/src/Makefile
2 index c503513..8a69a0c 100755
3 --- a/ccx_2.19/src/Makefile
4 +++ b/ccx_2.19/src/Makefile
5 @@ -18,15 +18,10 @@ OCCXF = $(SCCXF:.f=.o)
6 OCCXC = $(SCCXC:.c=.o)
7 OCCXMAIN = $(SCCXMAIN:.c=.o)
9 -DIR=../../../SPOOLES.2.2
10 +LIBS = -lpthread -lm -lc -lspooles -larpack -lblas -llapack
12 -LIBS = \
13 - $(DIR)/spooles.a \
14 - ../../../ARPACK/libarpack_INTEL.a \
15 - -lpthread -lm -lc
17 -ccx_2.19: $(OCCXMAIN) ccx_2.19.a $(LIBS)
18 - ./date.pl; $(CC) $(CFLAGS) -c ccx_2.19.c; $(FC) -Wall -O2 -o $@ $(OCCXMAIN) ccx_2.19.a $(LIBS) -fopenmp
19 +ccx_2.19: $(OCCXMAIN) ccx_2.19.a
20 + $(CC) $(CFLAGS) -c ccx_2.19.c; $(FC) -Wall -O2 -o $@ $(OCCXMAIN) ccx_2.19.a $(LIBS) -fopenmp
22 ccx_2.19.a: $(OCCXF) $(OCCXC)
23 ar vr $@ $?