source: lmdz_wrf/WRFV3/external/io_mcel/makefile @ 1

Last change on this file since 1 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: 987 bytes
Line 
1#makefile to build io_mcel that does binary i/o
2
3OBJSL   = io_mcel.o ext_mcel_open_for_read.o ext_mcel_open_for_write.o ext_mcel_read_field.o ext_mcel_write_field.o timeconvert.o
4OBJS    = $(OBJSL)
5OPTS    =
6FFLAGS  =  $(OPTS) -w -g
7LIBS    = 
8CPP     = /lib/cpp -C -P $(TRADFLAG)
9M4      = m4 -Uinclude -Uindex -Ulen
10AR      = ar
11RANLIB  = echo
12
13.SUFFIXES:      .F90 .F .f .o .code
14
15all : libwrfio_mcel.a
16
17libwrfio_mcel.a:                $(OBJS)
18                        /bin/rm -f libwrfio_mcel.a
19                        $(AR) cr libwrfio_mcel.a $(OBJSL)
20                        $(RANLIB) libwrfio_mcel.a
21
22timeconvert.o : timeconvert.c
23                        $(CC) -c timeconvert.c
24
25.F90.o:
26                        $(CPP) $(TRADFLAG) $(INCL) $*.F90 | $(M4) - > $*.f
27                        $(FC) $(FFLAGS) $(INCL) -I../ioapi_share -c $*.f
28
29superclean:
30                        /bin/rm -f *.f *.o libwrfio_mcel.a
31
32# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
33
34ext_mcel_open_for_read.o : io_mcel.o
35ext_mcel_open_for_write.o : io_mcel.o
36ext_mcel_read_field.o : io_mcel.o
37ext_mcel_write_field.o : io_mcel.o
38
Note: See TracBrowser for help on using the repository browser.