1 |
guez |
3 |
# Needs compiled modules created by NAG. |
2 |
|
|
|
3 |
|
|
.PHONY: objects |
4 |
|
|
objects: ${objects} |
5 |
|
|
# (useful for NAG module builder) |
6 |
|
|
|
7 |
guez |
5 |
nag_fcalls_options = -calledby -locate -class |
8 |
|
|
nag_cross_options = -key |
9 |
|
|
|
10 |
|
|
# NAG general options: |
11 |
|
|
nag_options = -dusty ${inc_flags} |
12 |
|
|
|
13 |
guez |
6 |
call_graph_etat0_lim: $(filter-out netcdf95.f90, ${sources_etat0_lim}) |
14 |
guez |
5 |
@nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^ |
15 |
guez |
3 |
|
16 |
|
|
call_graph_gcm: $(filter-out netcdf95.f90, ${sources_gcm}) |
17 |
guez |
5 |
@nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^ |
18 |
guez |
3 |
|
19 |
guez |
5 |
cross_ref_etat0_lim: ${sources_etat0_lim} |
20 |
|
|
@nag_xref95 ${nag_options} ${nag_cross_options} -listing $@ $^ |
21 |
|
|
|
22 |
guez |
3 |
.PHONY: clean_call_graph |
23 |
|
|
clean_call_graph: |
24 |
|
|
rm -f call_graph_etat0_lim call_graph_gcm |