r4627 | gill | 2010-12-29 16:29:58 -0700 (Wed, 29 Dec 2010) | 5 lines
[wrffire.git] / wrfv2_fire / external / atm_pom / Makefile
blob19d4a9e594e7d9cad5375e7e6d13a72e68d58b42
1 .SUFFIXES: .F .o
2 FFLAGS = -I../io_int
4 OBJ = module_PATCH_QUILT.o \
5 atm_comm.o \
6 atm_tiles.o \
7 cmpcomm.o \
8 mpi_more.o
10 AR = ar
11 ARFLAGS = cr
12 TARGET = libatm_pom.a
14 library: $(OBJ)
15 $(AR) $(ARFLAGS) $(TARGET) $(OBJ)
16 $(RANLIB) $(TARGET)
18 .F.o:
19 $(CPP) $(CPPFLAGS) -DDM_PARALLEL $*.F > $*.f90
20 $(FC) -o $@ -c $(FFLAGS) $*.f90
22 clean:
23 rm -f $(OBJ) $(TARGET)
24 rm -f *.f90
25 rm -f *.mod
28 superclean: clean
29 # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
31 atm_tiles.o: \
32 atm_comm.o \
33 module_PATCH_QUILT.o
35 atm_comm.o: \
36 cmpcomm.o
37 atm_tiles.o:
38 cmpcomm.o:
39 mpi_more.o:
41 # DO NOT DELETE