LIN = 	tsgesv tdgesv tcgesv tzgesv \
	tsgbsv tdgbsv tcgbsv tzgbsv \
	tsgtsv tdgtsv tcgtsv tzgtsv \
	tsposv tdposv tcposv tzposv \
	tsppsv tdppsv tcppsv tzppsv \
	tspbsv tdpbsv tcpbsv tzpbsv \
	tsptsv tdptsv tcptsv tzptsv \
	tssysv tdsysv tcsysv tzsysv \
		      tchesv tzhesv \
	tsspsv tdspsv tcspsv tzspsv \
		      tchpsv tzhpsv \
	tgesv

all: $(LIN)

% : %.adb
	gnatmake -O2 $<

testing:
	touch Test.Out
	for file in $(LIN); do \
          echo $$file >> Test.Out; \
          ./$$file >> Test.Out; \
        done

clean:
	rm -f *.ali *.o $(LIN) core Test.Out
