mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
23 lines
764 B
Diff
23 lines
764 B
Diff
diff -Naur a/ccx_2.17/src/Makefile b/ccx_2.17/src/Makefile
|
|
--- a/ccx_2.17/src/Makefile 2020-07-23 21:41:38.507761972 +0200
|
|
+++ b/ccx_2.17/src/Makefile 2020-08-22 16:53:50.004938281 +0200
|
|
@@ -18,15 +18,10 @@
|
|
OCCXC = $(SCCXC:.c=.o)
|
|
OCCXMAIN = $(SCCXMAIN:.c=.o)
|
|
|
|
-DIR=../../../SPOOLES.2.2
|
|
+LIBS = -lpthread -lm -lc -lspooles -larpack -lblas -llapack
|
|
|
|
-LIBS = \
|
|
- $(DIR)/spooles.a \
|
|
- ../../../ARPACK/libarpack_INTEL.a \
|
|
- -lpthread -lm -lc
|
|
-
|
|
-ccx_2.17: $(OCCXMAIN) ccx_2.17.a $(LIBS)
|
|
- ./date.pl; $(CC) $(CFLAGS) -c ccx_2.17.c; $(FC) -Wall -O2 -o $@ $(OCCXMAIN) ccx_2.17.a $(LIBS)
|
|
+ccx_2.17: $(OCCXMAIN) ccx_2.17.a
|
|
+ $(CC) $(CFLAGS) -c ccx_2.17.c; $(FC) -Wall -O2 -o $@ $(OCCXMAIN) ccx_2.17.a $(LIBS)
|
|
|
|
ccx_2.17.a: $(OCCXF) $(OCCXC)
|
|
ar vr $@ $?
|