lama_byterun/regression/deep-expressions/Makefile
2018-03-07 10:18:30 +03:00

15 lines
390 B
Makefile

TESTS=$(basename $(wildcard generated*.expr))
RC = ../../src/rc.opt
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.expr
RC_RUNTIME=../../runtime $(RC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
cat $@.input | $(RC) -i $< > $@.log && diff $@.log orig/$@.log
cat $@.input | $(RC) -s $< > $@.log && diff $@.log orig/$@.log
clean:
rm -f *.log *.s *~ $(TESTS)