Blame view
Makefile
1.14 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 |
|
b93026039 git-svn-id: https... |
8 9 10 11 12 13 14 15 16 17 |
all: sub $(library) sub: ( cd fvn_common && make && make install ) ( cd fvn_linear && make && make install ) ( cd fvn_integ && make && make install ) ( cd fvn_interpol && make && make install ) ( cd fvn_sparse && make && make install ) ( cd fvn_fnlib && make && make install ) ( cd fvn_misc && make && make install ) |
ec05a677c git-svn-id: https... |
18 19 |
clean: |
25c42432d git-svn-id: https... |
20 |
rm -f {*.o,*.oo,*.ipo,*.a,*.mod} |
b93026039 git-svn-id: https... |
21 22 23 24 25 26 27 |
( cd fvn_common && make clean ) ( cd fvn_linear && make clean ) ( cd fvn_integ && make clean ) ( cd fvn_interpol && make clean ) ( cd fvn_sparse && make clean ) ( cd fvn_fnlib && make clean ) ( cd fvn_misc && make clean) |
ec05a677c git-svn-id: https... |
28 29 |
install: |
38581db0c git-svn-id: https... |
30 |
cp fvn.mod $(BTREE)/modules |
59ae88e06 git-svn-id: https... |
31 |
cp $(library) $(BTREE)/lib |
422234dc3 git-svn-id: https... |
32 |
|
ec05a677c git-svn-id: https... |
33 |
%.o: %.f90 |
59ae88e06 git-svn-id: https... |
34 |
$(F95) $(F95FLAGS) -c $< -o $@ |
ec05a677c git-svn-id: https... |
35 |
|
b93026039 git-svn-id: https... |
36 37 38 |
$(objects):fvnlib.f90 $(library): $(objects) sub |
ec05a677c git-svn-id: https... |
39 |
$(AR) rcu $@ $(objects) |
b93026039 git-svn-id: https... |
40 41 42 43 44 45 46 47 48 |
$(AR) ru $@ fvn_common/*.o $(AR) ru $@ fvn_linear/*.o $(AR) ru $@ fvn_integ/*.o $(AR) ru $@ fvn_interpol/*.o $(AR) ru $@ fvn_sparse/*.o $(AR) ru $@ fvn_sparse/AMD/Lib/*.o $(AR) ru $@ fvn_sparse/UMFPACK/Lib/*.o $(AR) ru $@ fvn_fnlib/*.o $(AR) ru $@ fvn_misc/*.o |
59ae88e06 git-svn-id: https... |
49 |
$(RANLIB) $@ |
ec05a677c git-svn-id: https... |
50 |