/[lmdze]/trunk/libf/nag_tools.mk
ViewVC logotype

Diff of /trunk/libf/nag_tools.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/libf/call_graph.mk revision 6 by guez, Tue Mar 4 14:00:42 2008 UTC trunk/libf/nag_tools.mk revision 7 by guez, Mon Mar 31 12:24:17 2008 UTC
# Line 1  Line 1 
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    # Compiled modules created by NAG are needed.
5    
6  .PHONY: objects  .PHONY: objects
7  objects: ${objects}  objects: ${objects}
8  # (useful for NAG module builder)  # (useful for NAG module builder)
9    
10  nag_fcalls_options = -calledby -locate -class  # Call graph:
11  nag_cross_options = -key  CG_etat0_lim: ${sources_etat0_lim}
12            @nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
13  # NAG general options:  
14  nag_options = -dusty ${inc_flags}  CG_gcm: ${sources_gcm}
15            @nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
16  call_graph_etat0_lim: $(filter-out netcdf95.f90, ${sources_etat0_lim})  
17          @nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^  # Cross references:
18    CR_etat0_lim: ${sources_etat0_lim}
19  call_graph_gcm: $(filter-out netcdf95.f90, ${sources_gcm})          @nag_xref95 ${nag_cross_options} -listing $@ $^
20          @nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^  
21    .PHONY: clean_nag
22  cross_ref_etat0_lim: ${sources_etat0_lim}  clean_nag:
23          @nag_xref95 ${nag_options} ${nag_cross_options} -listing $@ $^          rm -f CG_etat0_lim CG_gcm CR_etat0_lim
   
 .PHONY: clean_call_graph  
 clean_call_graph:  
         rm -f call_graph_etat0_lim call_graph_gcm  

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.21