# Makefile for the bcpl implementation of VSPL

help:
	@echo
	@echo "make clean          Delete unneeded files"
	@echo "make primes         Compile and run primes.vs"
	@echo "make vcmpltest      Compile and run primes.vs"
	@echo "make ranexp         Compile and run primes.vs"
	@echo "make demo           Compile and run demo.vs"
	@echo "make bench100       Compile and run bench100.vs"
	@echo

primes:	vspl
	cintsys -c "vspl -p -c ../primes.vs"

vcmpltest:	vspl
	cintsys -c "vspl ../vcmpltest.vs"

ranexp:	vspl
	cintsys -c "vspl ../ranexp.vs"

demo:	vspl
	cintsys -c "vspl -p -c -t ../demo.vs"

bench100:	vspl
	cintsys -c "vspl ../bench100.vs"

vspl:	vspl.b
	cintsys -c "c b vspl"

clean:
	rm -f *~ vspl junk*
