/[lmdze]/trunk/nag_rules.mk
ViewVC logotype

Diff of /trunk/nag_rules.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/nag_rules.mk revision 188 by guez, Tue Mar 22 16:31:39 2016 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  .PHONY: objects  # Compiled modules created by NAG are needed.
 objects: ${objects}  
 # (useful for NAG module builder)  
   
 nag_fcalls_options = -calledby -locate -class  
 nag_cross_options = -key  
   
 # NAG general options:  
 nag_options = -dusty ${inc_flags}  
5    
6  call_graph_etat0_lim: $(filter-out netcdf95.f90, ${sources_etat0_lim})  .PHONY: all_nag objects
         @nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^  
7    
8  call_graph_gcm: $(filter-out netcdf95.f90, ${sources_gcm})  all_nag: objects CG_ce0l CG_gcm CR_ce0l CR_gcm
9          @nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^  objects: ${objects}
   
 cross_ref_etat0_lim: ${sources_etat0_lim}  
         @nag_xref95 ${nag_options} ${nag_cross_options} -listing $@ $^  
10    
11  .PHONY: clean_call_graph  # Call graphs:
12  clean_call_graph:  CG_ce0l: ${src_ce0l}
13          rm -f call_graph_etat0_lim call_graph_gcm          nagfor =callgraph ${nag_fcalls_options} -o $@ $^
14    
15    CG_gcm: ${src_gcm}
16            nagfor =callgraph ${nag_fcalls_options} -o $@ $^
17    
18    # Cross references:
19    CR_ce0l: ${src_ce0l}
20            nag_xref95 ${nag_cross_options} -listing $@ $^
21    
22    CR_gcm: ${src_gcm}
23            nag_xref95 ${nag_cross_options} -listing $@ $^
24    
25    .PHONY: clean_nag
26    clean_nag:
27            rm -f CG_ce0l CG_gcm CR_ce0l CR_gcm

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

  ViewVC Help
Powered by ViewVC 1.1.21