
#------------------------------------------------------------------------------
#  Compiler :
#------------------------------------------------------------------------------

F90     = /software/SUNWspro_4.2/bin/f90

# -- Versions 5 and 6 :
#
#F90	= /software/SUNWspro/bin/f90
#F90	= /software/workshop6/utils/SUNWspro/bin/f90


#------------------------------------------------------------------------------
#  Flags/Options :
#------------------------------------------------------------------------------

FFLAGS  = 
LINKFLAG= 


#------------------------------------------------------------------------------
#  Targets :
#------------------------------------------------------------------------------

OBJECTS = quad_mod.o quad_main.o

quad:   $(OBJECTS)
	$(F90) -o $@ $(LINKFLAG) $(OBJECTS)

clean:
	$(RM) quad *.o *mod


#------------------------------------------------------------------------------
#  Explicit dependencies for objects are set here :
#------------------------------------------------------------------------------

quad_main.o:    quad_mod.o quad_mod.mod


#------------------------------------------------------------------------------
#  Changes to the Makefile itself cause complete recompilation.
#  (E.g., change in compiler options.)
#------------------------------------------------------------------------------

$(OBJECTS):     Makefile


#------------------------------------------------------------------------------
#  Implicit rule for compilation:
#------------------------------------------------------------------------------

.SUFFIXES:
.SUFFIXES: .f90 .o

.f90.o:
	$(F90) $(FFLAGS) -c $*.f90  

#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
