.SUFFIXES: .o .f .f90
include ../../make.in

FLIB = ../../libs/h_cheby.a ../../libs/h_eigen.a ../../libs/h_common.a 

OBJS = startup.o setup.o 
LDFLAGS =  

%.o: %.f90
	f90 $(F90FLAGS) -c $<

test:	$(OBJS)
	f90  $(F90FLAGS)  $(LDFLAGS) -o $@ $(OBJS) $(FLIB) $(MATHLIB)

clean:
	/bin/rm -f *% *~ $(OBJS)

virgin: clean
	/bin/rm -f test_*
#################################################################
#This makefile is for a Sun or SGI system.
#Modify the path to dfft.a in FLIB to your install location
#If you are not using a SGI Origin or Challenge system - link lapack 
#and remove -lcomplib_sgimath
#################################################################

