/[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/libf/nag_rules.mk revision 14 by guez, Mon Jul 28 14:48:09 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  .PHONY: objects  # Compiled modules created by NAG are needed.
5    
6    .PHONY: all_nag objects
7    
8    all_nag: objects CG_etat0_lim CG_gcm CR_etat0_lim CR_gcm
9  objects: ${objects}  objects: ${objects}
 # (useful for NAG module builder)  
10    
11  nag_fcalls_options = -calledby -locate -class  # Call graphs:
12  nag_cross_options = -key  CG_etat0_lim: ${sources_etat0_lim}
13            nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
14    
15  # NAG general options:  CG_gcm: ${sources_gcm}
16  nag_options = -dusty ${inc_flags}          nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
17    
18  call_graph_etat0_lim: $(filter-out netcdf95.f90, ${sources_etat0_lim})  # Cross references:
19          @nag_fcalls95 ${nag_options} ${nag_fcalls_options} -listing $@ $^  CR_etat0_lim: ${sources_etat0_lim}
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 ${nag_options} ${nag_fcalls_options} -listing $@ $^          nag_xref95 ${nag_cross_options} -listing $@ $^
24    
25  cross_ref_etat0_lim: ${sources_etat0_lim}  CG_etat0_lim CG_gcm CR_etat0_lim CR_gcm: objects
         @nag_xref95 ${nag_options} ${nag_cross_options} -listing $@ $^  
26    
27  .PHONY: clean_call_graph  .PHONY: clean_nag
28  clean_call_graph:  clean_nag:
29          rm -f call_graph_etat0_lim call_graph_gcm          rm -f CG_etat0_lim CG_gcm CR_etat0_lim CR_gcm

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

  ViewVC Help
Powered by ViewVC 1.1.21