######################################################################
#
# This Makefile builds and runs the test programs.
#
######################################################################

SOURCES   = *.adb
PROGRAMS  = tashtest
GNATFLAGS = -I$${GNAT_ROOT:-/usr}/lib/gnat/tash 

all : test

$(PROGRAMS) : $(SOURCES)
	gnatmake $(GNATFLAGS) $@

test :  $(PROGRAMS)
	./tashtest tashtest.tcl

clean :
	@tclsh ../clean.tcl $(PROGRAMS)
