source: trunk/WRF.COMMON/WRFV3/external/io_esmf/makefile @ 3567

Last change on this file since 3567 was 2762, checked in by aslmd, 2 years ago

M Lefevre: option -C makes things bad in some OS (was done previously in LMD_LES_mars_install

File size: 955 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  -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.