mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-09 00:08:44 +00:00
14 lines
280 B
Makefile
14 lines
280 B
Makefile
TESTS=$(sort $(basename $(wildcard test*.expr)))
|
|
|
|
RC=../../src/rc.opt
|
|
|
|
.PHONY: check $(TESTS)
|
|
|
|
check: $(TESTS)
|
|
|
|
$(TESTS): %: %.expr
|
|
@echo $@
|
|
RC_RUNTIME=../../runtime $(RC) -I .. -ds -dp $< && ./$@ > $@.log && diff $@.log orig/$@.log
|
|
|
|
clean:
|
|
$(RM) test*.log *.s *~ $(TESTS) *.i
|