#------------------------------------------------------------------------------
#
# NAME:
#       make.rules
#
# PURPOSE:
#       Unix make utility include file for definition of suffix and
#       compilation rules
#
# LANGUAGE:
#       Unix make
#
# CALLING SEQUENCE:
#       include make.rules
#
# CREATION HISTORY:
#       Written by:     Paul van Delst, CIMSS/SSEC 08-Jun-2000
#                       paul.vandelst@ssec.wisc.edu
#
#  Copyright (C) 2000 Paul van Delst
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either version 2
#  of the License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
# $Id: make.rules 7597 2010-04-30 14:20:27Z paul.vandelst@noaa.gov $
#
#------------------------------------------------------------------------------

# Fortran 90 suffix rules
# -----------------------
.SUFFIXES:
.SUFFIXES: .F95 .f95 .F90 .f90 .f .o
.F95.o:
	$(FC) $(EXTRA_FC_FLAGS) $(FC_FLAGS) $(FPP_FLAGS) $<

.f95.o:
	$(FC) $(EXTRA_FC_FLAGS) $(FC_FLAGS) $<

.F90.o:
	$(FC) $(EXTRA_FC_FLAGS) $(FC_FLAGS) $(FPP_FLAGS) $<

.f90.o:
	$(FC) $(EXTRA_FC_FLAGS) $(FC_FLAGS) $<

.f.o:
	$(FC) $(EXTRA_FC_FLAGS) -c $<