/[lmdze]/trunk/GNUmakefile
ViewVC logotype

Diff of /trunk/GNUmakefile

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

revision 81 by guez, Wed Mar 5 14:38:41 2014 UTC revision 82 by guez, Wed Mar 5 14:57:53 2014 UTC
# Line 2  Line 2 
2    
3  # This makefile builds LMDZE.  # This makefile builds LMDZE.
4    
 # Suffixes are:  
 # "f90" for free format, no preprocessing  
 # "f" for fixed format, no preprocessing  
   
5  # 1. Source files  # 1. Source files
6    
7  src_root = .  src_root = .
# Line 34  include Compiler_options/${FC}_${mode}.m Line 30  include Compiler_options/${FC}_${mode}.m
30  # 4. Rules  # 4. Rules
31    
32  SHELL = bash  SHELL = bash
 COMPILE.f90 = $(FC) $(F90FLAGS) $(TARGET_ARCH) -c  
   
 %.o: %.f90  
         $(COMPILE.f90) $(OUTPUT_OPTION) $<  
   
33  .DELETE_ON_ERROR:  .DELETE_ON_ERROR:
34  .PHONY: all clean clobber depend  .PHONY: all clean clobber depend
35  all: ${execut} log  all: ${execut} log
# Line 50  ce0l: ${obj_ce0l} Line 41  ce0l: ${obj_ce0l}
41  gcm: ${obj_gcm}  gcm: ${obj_gcm}
42    
43  depend ${src_root}/depend.mk:  depend ${src_root}/depend.mk:
44          makedepf90 -Wmissing -Wconfused $(addprefix -I, ${VPATH}) -nosrc $(addprefix -u , netcdf numer_rec_95 netcdf95 nr_util jumble) ${sources} >${src_root}/depend.mk          makedepf90 -free -Wmissing -Wconfused $(addprefix -I, ${VPATH}) -nosrc $(addprefix -u , netcdf numer_rec_95 netcdf95 nr_util jumble) ${sources} >${src_root}/depend.mk
45    
46  ${src_root}/TAGS: ${sources}  ${src_root}/TAGS: ${sources}
47          ctags -e --language-force=fortran -f $@ $^          ctags -e --language-force=fortran -f $@ $^

Legend:
Removed from v.81  
changed lines
  Added in v.82

  ViewVC Help
Powered by ViewVC 1.1.21