Blame view
Makefile
1.68 KB
ec05a677c git-svn-id: https... |
1 2 3 4 5 |
include $(BTREE)/Make.inc objects = fvnlib.o |
59ae88e06 git-svn-id: https... |
6 |
library = libfvn$(libext) |
ec05a677c git-svn-id: https... |
7 |
|
38581db0c git-svn-id: https... |
8 |
all: umfpack fnlib $(library) |
ec05a677c git-svn-id: https... |
9 10 |
clean: |
25c42432d git-svn-id: https... |
11 |
rm -f {*.o,*.oo,*.ipo,*.a,*.mod} |
422234dc3 git-svn-id: https... |
12 13 14 |
( cd fvn_sparse ; rm -f {*.o,*.oo,*.ipo,*.a,*.mod} ) ( cd fvn_sparse/AMD ; make clean ) ( cd fvn_sparse/UMFPACK ; make clean ) |
38581db0c git-svn-id: https... |
15 |
( cd fvn_fnlib ; make clean ) |
967bc474e git-svn-id: https... |
16 17 |
( rm -f fvn_sparse/AMD/Lib/libamd.a ) ( rm -f fvn_sparse/UMFPACK/Lib/libumfpack.a ) |
ec05a677c git-svn-id: https... |
18 19 |
install: |
38581db0c git-svn-id: https... |
20 |
cp fvn.mod $(BTREE)/modules |
59ae88e06 git-svn-id: https... |
21 |
cp $(library) $(BTREE)/lib |
38581db0c git-svn-id: https... |
22 |
( cd fvn_fnlib ; make install ) |
59ae88e06 git-svn-id: https... |
23 24 |
( cp fvn_sparse/UMFPACK/Lib/libumfpack.a $(BTREE)/lib/libumfpack.lib ) ( cp fvn_sparse/AMD/Lib/libamd.a $(BTREE)/lib/libamd.lib ) |
422234dc3 git-svn-id: https... |
25 |
|
ec05a677c git-svn-id: https... |
26 |
%.o: %.f90 |
59ae88e06 git-svn-id: https... |
27 |
$(F95) $(F95FLAGS) -c $< -o $@ |
ec05a677c git-svn-id: https... |
28 29 30 31 32 33 34 35 36 37 38 39 40 |
$(objects):fvnlib.f90 fvn_quadpack/dqk15_2d_inner.f fvn_quadpack/dqk31_2d_outer.f \ fvn_quadpack/d1mach.f fvn_quadpack/dqk31_2d_inner.f fvn_quadpack/dqage.f \ fvn_quadpack/dqk15.f fvn_quadpack/dqk21.f fvn_quadpack/dqk31.f fvn_quadpack/dqk41.f \ fvn_quadpack/dqk51.f fvn_quadpack/dqk61.f fvn_quadpack/dqk41_2d_outer.f \ fvn_quadpack/dqk41_2d_inner.f fvn_quadpack/dqag_2d_outer.f fvn_quadpack/dqag_2d_inner.f \ fvn_quadpack/dqpsrt.f fvn_quadpack/dqag.f fvn_quadpack/dqage_2d_outer.f \ fvn_quadpack/dqage_2d_inner.f fvn_quadpack/dqk51_2d_outer.f fvn_quadpack/dqk51_2d_inner.f \ fvn_quadpack/dqk61_2d_outer.f fvn_quadpack/dqk21_2d_outer.f fvn_quadpack/dqk61_2d_inner.f \ fvn_quadpack/dqk21_2d_inner.f fvn_quadpack/dqk15_2d_outer.f $(library): $(objects) $(AR) rcu $@ $(objects) |
4f9d60ba8 git-svn-id: https... |
41 |
$(AR) ru $@ fvn_sparse/umfpack_wrapper.o |
59ae88e06 git-svn-id: https... |
42 |
$(RANLIB) $@ |
ec05a677c git-svn-id: https... |
43 |
|
422234dc3 git-svn-id: https... |
44 45 |
umfpack: ( cd fvn_sparse/UMFPACK ; make ) |
59ae88e06 git-svn-id: https... |
46 |
( cd fvn_sparse ; $(CC) $(CFLAGS) -c umfpack_wrapper.c -IUMFPACK/Include -IAMD/Include -IUFconfig -o umfpack_wrapper.o) |
422234dc3 git-svn-id: https... |
47 |
|
38581db0c git-svn-id: https... |
48 49 |
fnlib: ( cd fvn_fnlib ; make ) |
422234dc3 git-svn-id: https... |
50 |
|
ec05a677c git-svn-id: https... |
51 |