mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Massive renaming
This commit is contained in:
parent
241ab0a9ae
commit
61296c51e7
152 changed files with 45 additions and 29 deletions
4
Makefile
4
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
EXECUTABLE = src/rc.opt
|
EXECUTABLE = src/lamac
|
||||||
INSTALL ?= install -v
|
INSTALL ?= install -v
|
||||||
MKDIR ?= mkdir
|
MKDIR ?= mkdir
|
||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
|
|
@ -10,7 +10,7 @@ all:
|
||||||
pushd runtime && make && popd
|
pushd runtime && make && popd
|
||||||
pushd stdlib && make && popd
|
pushd stdlib && make && popd
|
||||||
|
|
||||||
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.expr runtime/runtime.a runtime/Std.i)
|
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama runtime/runtime.a runtime/Std.i)
|
||||||
#$(info $(STD_FILES))
|
#$(info $(STD_FILES))
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
TESTS=$(sort $(basename $(wildcard test*.expr)))
|
TESTS=$(sort $(basename $(wildcard test*.lama)))
|
||||||
|
|
||||||
RC=../src/rc.opt
|
LAMAC=../src/lamac
|
||||||
|
|
||||||
.PHONY: check $(TESTS)
|
.PHONY: check $(TESTS)
|
||||||
|
|
||||||
check: $(TESTS)
|
check: $(TESTS)
|
||||||
|
|
||||||
$(TESTS): %: %.expr
|
$(TESTS): %: %.lama
|
||||||
@echo $@
|
@echo $@
|
||||||
cat $@.input | $(RC) -i $< > $@.log && diff $@.log orig/$@.log
|
cat $@.input | $(LAMAC) -i $< > $@.log && diff $@.log orig/$@.log
|
||||||
cat $@.input | $(RC) -s $< > $@.log && diff $@.log orig/$@.log
|
cat $@.input | $(LAMAC) -s $< > $@.log && diff $@.log orig/$@.log
|
||||||
$(RC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
$(LAMAC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) test*.log *.s *~ $(TESTS) *.i
|
$(RM) test*.log *.s *~ $(TESTS) *.i
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue