
all : wct01 wct02

wct01 : 
	@echo Test wct01, basic functionality 
	../../bin/FVSwc --keywordfile=wct01.key
	grep -v "\-999" wct01.sum      > wct01.tmp
	grep -v "\-999" wct01.sum.save > wct01.tmp.save
	-diff -w wct01.tmp wct01.tmp.save
	rm wct01.tmp wct01.tmp.save
	@echo Test wct01 ended

wct02 : 
	@echo Test wct02, stop/restart, output should match wct01
	../../bin/FVSwc --keywordfile=wct01.key --stoppoint=2,2040,wct.stop
	../../bin/FVSwc --restart=wct.stop
	grep -v "\-999" wct01.sum      > wct01.tmp
	grep -v "\-999" wct01.sum.save > wct01.tmp.save
	-diff -w wct01.tmp wct01.tmp.save
	rm wct01.tmp wct01.tmp.save
	@echo Test wct02 ended

clean:
	rm -rfv wct.stop wct01.out wct01.sng wct01.sum FVS_Data.db FVSOut.db