Last change
on this file was
11,
checked in by aslmd, 15 years ago
|
spiga@svn-planeto:ajoute le modele meso-echelle martien
|
File size:
1.4 KB
|
Line | |
---|
1 | OBJS = plotgrid.o input_module.o misc_definitions_module.o module_debug.o parallel_module.o queue_module.o gridinfo_module.o wrf_debug.o |
---|
2 | |
---|
3 | .IGNORE: |
---|
4 | .SUFFIXES: .c .f90 .F90 .o |
---|
5 | |
---|
6 | .c.o: |
---|
7 | rm -f $@ |
---|
8 | $(CC) $(CFLAGS) -c $< |
---|
9 | |
---|
10 | .f90.o: |
---|
11 | rm -f $@ $*.mod |
---|
12 | cp $< $*.f |
---|
13 | $(FC) $(FFLAGS) -c $*.f -I$(WRF_DIR)/external/io_netcdf -I$(WRF_DIR)/external/io_grib1 -I$(WRF_DIR)/external/io_int |
---|
14 | rm -f $*.f |
---|
15 | |
---|
16 | .F90.o: |
---|
17 | rm -f $@ $*.mod |
---|
18 | cpp -C -P -traditional $(CPPFLAGS) $< > $*.f |
---|
19 | $(FC) $(FFLAGS) -c $*.f -I$(WRF_DIR)/external/io_netcdf -I$(WRF_DIR)/external/io_grib1 -I$(WRF_DIR)/external/io_int |
---|
20 | rm -f $*.f |
---|
21 | |
---|
22 | all: plotgrid.exe |
---|
23 | |
---|
24 | plotgrid.exe: $(OBJS) |
---|
25 | $(FC) $(LDFLAGS) -o $@ $(OBJS) $(WRF_DIR)/frame/pack_utils.o $(WRF_DIR)/frame/module_machine.o $(WRF_DIR)/frame/module_internal_header_util.o -L$(NETCDF)/lib -I$(NETCDF)/include -I$(WRF_DIR)/external/io_grib1 -I$(WRF_DIR)/external/io_int -I$(WRF_DIR)/external/io_netcdf -L$(WRF_DIR)/external/io_netcdf -L$(WRF_DIR)/external/io_grib1 -L$(WRF_DIR)/external/io_int -lwrfio_nf -lwrfio_int -lio_grib1 -lnetcdf |
---|
26 | |
---|
27 | plotgrid.f90: input_module.o |
---|
28 | |
---|
29 | input_module.o: gridinfo_module.o misc_definitions_module.o module_debug.o parallel_module.o queue_module.o |
---|
30 | |
---|
31 | misc_definitions_module.o: |
---|
32 | |
---|
33 | module_debug.o: |
---|
34 | |
---|
35 | parallel_module.o: |
---|
36 | |
---|
37 | queue_module.o: |
---|
38 | |
---|
39 | wrf_debug.o: |
---|
40 | |
---|
41 | gridinfo_module.o: misc_definitions_module.o module_debug.o |
---|
42 | |
---|
43 | clean: |
---|
44 | rm -f $(OBJS) *.mod |
---|
45 | |
---|
46 | clobber: |
---|
47 | make clean; rm -f plotgrid.exe |
---|
Note: See
TracBrowser
for help on using the repository browser.