lama_byterun/regression/expressions/Makefile
Dmitry Boulytchev b19bea4d58 Functions in X86
2018-04-11 00:47:46 +03:00

15 lines
393 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)