lama_byterun/stdlib/regression/Makefile

15 lines
279 B
Makefile
Raw Normal View History

2020-02-16 00:21:15 +03:00
TESTS=$(sort $(basename $(wildcard test*.lama)))
2020-02-16 00:21:15 +03:00
LAMAC=../../src/lamac
.PHONY: check $(TESTS)
check: $(TESTS)
2020-02-16 00:21:15 +03:00
$(TESTS): %: %.lama
@echo $@
2020-02-16 00:21:15 +03:00
LAMA=../../runtime $(LAMAC) -I .. -ds -dp $< && ./$@ > $@.log && diff $@.log orig/$@.log
clean:
2020-01-14 18:35:33 +03:00
$(RM) test*.log *.s *~ $(TESTS) *.i