source: lmdz_wrf/trunk/WRFV3/external/io_esmf/makefile @ 354

Last change on this file since 354 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

File size: 957 bytes
Line 
1# these settings for compiling standalone on Compaq. Type "make -r"
2#CPP = /lib/cpp
3#FC  = f90 -free
4
5.SUFFIXES: .F90 .o
6
7AR = ar
8#RANLIB = ranlib
9RANLIB  = echo
10
11OBJS = module_symbols_util.o \
12       module_esmf_extensions.o \
13       module_utility.o \
14       io_esmf.o \
15       ext_esmf_open_for_read.o \
16       ext_esmf_open_for_write.o \
17       ext_esmf_read_field.o \
18       ext_esmf_write_field.o
19
20TARGET = libwrfio_esmf.a
21
22$(TARGET) : $(OBJS)
23        $(AR) ru $(TARGET) $(OBJS)
24        $(RANLIB) $(TARGET)
25
26.F90.o :
27        $(CPP) -I../ioapi_share -C -P -DESMF_COUPLING $*.F90 > $*.f
28        $(FC) -c -g -I../ioapi_share $*.f
29
30superclean: 
31        /bin/rm -f *.f *.o $(TARGET) *.mod
32
33# DEPENDENCIES : only dependencies after this line
34
35module_utility.o : module_symbols_util.o module_esmf_extensions.o
36io_esmf.o : module_esmf_extensions.o
37ext_esmf_open_for_read.o : io_esmf.o
38ext_esmf_open_for_write.o : io_esmf.o
39ext_esmf_read_field.o : io_esmf.o
40ext_esmf_write_field.o : io_esmf.o
41
Note: See TracBrowser for help on using the repository browser.