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:
1.2 KB
|
Line | |
---|
1 | #makefile to build a wrf_io with netCDF |
---|
2 | |
---|
3 | OBJSL = wrf_io.o field_routines.o module_wrfsi_static.o |
---|
4 | OBJS = $(OBJSL) |
---|
5 | CODE = ext_pnc_get_dom_ti.code ext_pnc_get_var_td.code ext_pnc_get_var_ti.code ext_pnc_put_dom_ti.code ext_pnc_put_var_td.code ext_pnc_put_var_ti.code transpose.code |
---|
6 | FFLAGS = $(FCFLAGS) -I$(NETCDFPATH)/include -I../ioapi_share |
---|
7 | LIBS = -L$(NETCDFPATH)/lib -lnetcdf |
---|
8 | CPP1 = $(CPP) -C -P $(TRADFLAG) |
---|
9 | M4 = m4 -Uinclude -Uindex -Ulen |
---|
10 | AR = ar |
---|
11 | |
---|
12 | .SUFFIXES: .F90 .f .o .code |
---|
13 | |
---|
14 | all : libwrfio_pnf.a |
---|
15 | |
---|
16 | libwrfio_pnf.a: $(OBJS) $(CODE) |
---|
17 | /bin/rm -f libwrfio_pnf.a |
---|
18 | $(AR) cr libwrfio_pnf.a $(OBJSL) |
---|
19 | $(RANLIB) libwrfio_pnf.a |
---|
20 | |
---|
21 | wrf_io.o: wrf_io.F90 $(CODE) |
---|
22 | $(CPP1) -I$(NETCDFPATH)/include -I../ioapi_share wrf_io.F90 | $(M4) - > wrf_io.f |
---|
23 | $(FC) $(FFLAGS) -c wrf_io.f |
---|
24 | |
---|
25 | module_wrfsi_static.o: module_wrfsi_static.F90 |
---|
26 | $(CPP1) -I$(NETCDFPATH)/include -I../ioapi_share module_wrfsi_static.F90 > module_wrfsi_static.f |
---|
27 | $(FC) $(FFLAGS) -c module_wrfsi_static.f |
---|
28 | |
---|
29 | field_routines.o: field_routines.F90 |
---|
30 | $(CPP1) -I$(NETCDFPATH)/include -I../ioapi_share field_routines.F90 > field_routines.f |
---|
31 | $(FC) $(FFLAGS) -c field_routines.f |
---|
32 | |
---|
33 | superclean: |
---|
34 | /bin/rm -f *.f *.o testWRFWrite testWRFRead \ |
---|
35 | *.mod libwrfio_pnf.a |
---|
Note: See
TracBrowser
for help on using the repository browser.