/[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 5 by guez, Mon Mar 3 16:32:04 2008 UTC trunk/nag_rules.mk revision 134 by guez, Wed Apr 29 15:47:56 2015 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: ${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: ${common_sources} ${src_ce0l_only}
13          rm -f call_graph_etat0_lim call_graph_gcm          nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
14    
15    CG_gcm: ${common_sources} ${src_gcm_only}
16            nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
17    
18    # Cross references:
19    CR_ce0l: ${common_sources} ${src_ce0l_only}
20            nag_xref95 ${nag_cross_options} -listing $@ $^
21    
22    CR_gcm: ${common_sources} ${src_gcm_only}
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.5  
changed lines
  Added in v.134

  ViewVC Help
Powered by ViewVC 1.1.21