author | Forrest Hoffman <forrest@climatemodeling.org> |
Wed, 26 Sep 2007 17:50:53 -0400 | |
changeset 0 | 5fda18b64dcb |
permissions | -rw-r--r-- |
forrest@0 | 1 |
FC=gfortran |
forrest@0 | 2 |
FFLAGS=-O |
forrest@0 | 3 |
SRCS=realizer_mod.f90 realizer_pro.f90 |
forrest@0 | 4 |
OBJS=realizer_mod.o realizer_pro.o |
forrest@0 | 5 |
|
forrest@0 | 6 |
.SUFFIXES : .o .f90 |
forrest@0 | 7 |
|
forrest@0 | 8 |
.f90.o: |
forrest@0 | 9 |
$(FC) $(FFLAGS) -c $< |
forrest@0 | 10 |
|
forrest@0 | 11 |
realizer: $(OBJS) |
forrest@0 | 12 |
$(FC) $(FFLAGS) -o $@ $(OBJS) |
forrest@0 | 13 |
|
forrest@0 | 14 |
install: realizer |
forrest@0 | 15 |
cp -p $< /usr/local/bin/ |
forrest@0 | 16 |
|
forrest@0 | 17 |
clean: |
forrest@0 | 18 |
rm -f realizer realizer_mod.mod realizer_mod.o realizer_pro.o core |
forrest@0 | 19 |