.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90 .f95 .F95 .exe .m4

compile_prefix=@prefix@
LIB_DIR=$(compile_prefix)/lib
MOD_DIR=$(compile_prefix)/finclude

FPP=@FPP@
FPP_OUTPUT=@FPP_OUTPUT@
FC=@FC@
RANLIB=@RANLIB@

FFLAGS=@FCFLAGS@
FPPFLAGS=@FPPFLAGS@
LDFLAGS=@LDFLAGS@

FCFLAGS_fixed_f=@FCFLAGS_fixed_f@
FCFLAGS_free_f90=@FCFLAGS_free_f90@
FPPFLAGS_fixed_F=@FPPFLAGS_fixed_F@
FPPFLAGS_free_F90=@FPPFLAGS_free_F90@

INC_PREFIX=-I
MOD_PREFIX=@FC_MOD_FLAG@
LIB_PREFIX=-L
#
MOD_EXT=@FC_MODEXT@

#INCFLAGS must be set by the user makefile

#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
	@F_RULE@
.F90.o:
	@F90_RULE@
.f.o:
	$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f)  $<
.f90.o:
	$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90)  $<

