/[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 3 by guez, Wed Feb 27 13:16:39 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  call_graph_etat0_lim: ${sources_etat0_lim}  # Call graphs:
12          @nag_fcalls95 -calledby -dusty -locate ${inc_flags} -listing $@ $^  CG_etat0_lim: ${sources_etat0_lim}
13            nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
14    
15    CG_gcm: ${sources_gcm}
16            nag_fcalls95 ${nag_fcalls_options} -listing $@ $^
17    
18    # Cross references:
19    CR_etat0_lim: ${sources_etat0_lim}
20            nag_xref95 ${nag_cross_options} -listing $@ $^
21    
22    CR_gcm: ${sources_gcm}
23            nag_xref95 ${nag_cross_options} -listing $@ $^
24    
25  call_graph_gcm: $(filter-out netcdf95.f90, ${sources_gcm})  CG_etat0_lim CG_gcm CR_etat0_lim CR_gcm: objects
         @nag_fcalls95 -calledby -dusty -locate -class ${inc_flags} -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.3  
changed lines
  Added in v.14

  ViewVC Help
Powered by ViewVC 1.1.21