Blame view
Makefile
1.21 KB
ec05a677c git-svn-id: https... |
1 |
|
6164710c3 ChW returned Make... |
2 |
include $(BTREE)/Make.inc |
ec05a677c git-svn-id: https... |
3 4 5 |
objects = fvnlib.o |
19e954a45 ChW : added modul... |
6 |
modobjects = $(objects) |
59ae88e06 git-svn-id: https... |
7 |
library = libfvn$(libext) |
ec05a677c git-svn-id: https... |
8 |
|
b93026039 git-svn-id: https... |
9 10 11 12 13 14 15 16 17 18 |
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... |
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 |
|
19e954a45 ChW : added modul... |
36 37 |
# cette ligne est elle utile et nécessaire? #$(objects):fvnlib.f90 |
b93026039 git-svn-id: https... |
38 39 |
$(library): $(objects) sub |
ec05a677c git-svn-id: https... |
40 |
$(AR) rcu $@ $(objects) |
b93026039 git-svn-id: https... |
41 42 43 44 45 46 47 48 49 |
$(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... |
50 |
$(RANLIB) $@ |
ec05a677c git-svn-id: https... |
51 |