CC	= pgcc
LIBS = -lm -L $(NAGLIB) -lnag_nag 


MYOBJ = driver.o  bisection.o findconstants.o type1error.o type2error.o symmetry.o inflate.o reversal1.o reversal2.o type1errorstar.o type2errorstar.o min.o expectation.o


.KEEP_STATE:



errorspend: $(MYOBJ) 
	pgf77 -Mnomain $(MYOBJ) $(LIBS) -o $@


#header dependencies
driver.o : header.h
bisection.o : header.h
findconstants.o : header.h
type1error.o : header.h
type2error.o : header.h
symmetry : header.h
inflate.o : header.h
type1errorstar.o : header.h
type2errorstar.o : header.h
reversal1.o : header.h
reversal2.o : header.h
min.o : header.h
expectation.o : header.h

clean : 
	rm -rf *.o  core

