source: trunk/WRF.COMMON/WRFV2/external/io_mcel/makefile @ 3094

Last change on this file since 3094 was 1846, checked in by mlefevre, 7 years ago

MESOSCALE. -C option causes problem on some environment, got rid of in the makefiles and in configure.wrf (via makemeso)

File size: 886 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
4OBJS    = $(OBJSL)
5OPTS    =
6FFLAGS  =  $(OPTS) -w -g
7LIBS    = 
8CPP     = /lib/cpp  -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
22.F90.o:
23                        $(CPP) $*.F90 | $(M4) - > $*.f
24                        $(FC) $(FFLAGS) -I../ioapi_share -c $*.f
25
26superclean:
27                        /bin/rm -f *.f *.o libwrfio_mcel.a
28
29# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
30
31ext_mcel_open_for_read.o : io_mcel.o
32ext_mcel_open_for_write.o : io_mcel.o
33ext_mcel_read_field.o : io_mcel.o
34ext_mcel_write_field.o : io_mcel.o
35
Note: See TracBrowser for help on using the repository browser.