1 |
# Needs compiled modules created by NAG. |
# This is an extension to the LMDZE makefile, useful for NAG Fortran |
2 |
|
# tools. It should be included in the LMDZE makefile. |
3 |
|
|
4 |
.PHONY: objects |
# Compiled modules created by NAG are needed. |
5 |
|
|
6 |
|
.PHONY: all_nag objects |
7 |
|
|
8 |
|
all_nag: objects CG_ce0l CG_gcm CR_ce0l CR_gcm |
9 |
objects: ${objects} |
objects: ${objects} |
|
# (useful for NAG module builder) |
|
10 |
|
|
11 |
call_graph_etat0_lim: ${sources_etat0_lim} |
# Call graphs: |
12 |
@nag_fcalls95 -calledby -dusty -locate ${inc_flags} -listing $@ $^ |
CG_ce0l: ${sources_ce0l} |
13 |
|
nag_fcalls95 ${nag_fcalls_options} -listing $@ $^ |
14 |
|
|
15 |
|
CG_gcm: ${sources_gcm} |
16 |
|
nag_fcalls95 ${nag_fcalls_options} -listing $@ $^ |
17 |
|
|
18 |
|
# Cross references: |
19 |
|
CR_ce0l: ${sources_ce0l} |
20 |
|
nag_xref95 ${nag_cross_options} -listing $@ $^ |
21 |
|
|
22 |
call_graph_gcm: $(filter-out netcdf95.f90, ${sources_gcm}) |
CR_gcm: ${sources_gcm} |
23 |
@nag_fcalls95 -calledby -dusty -locate -class ${inc_flags} -listing $@ $^ |
nag_xref95 ${nag_cross_options} -listing $@ $^ |
24 |
|
|
25 |
.PHONY: clean_call_graph |
.PHONY: clean_nag |
26 |
clean_call_graph: |
clean_nag: |
27 |
rm -f call_graph_etat0_lim call_graph_gcm |
rm -f CG_ce0l CG_gcm CR_ce0l CR_gcm |