mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-03 04:28:19 +00:00
Polish Makefile a bit
This commit is contained in:
parent
6dc7471587
commit
a6be13ac7e
1 changed files with 10 additions and 10 deletions
20
Makefile
20
Makefile
|
|
@ -6,9 +6,9 @@ SHELL := /bin/bash
|
||||||
.PHONY: all regression
|
.PHONY: all regression
|
||||||
|
|
||||||
all:
|
all:
|
||||||
pushd src && make && popd
|
make -C src
|
||||||
pushd runtime && make && popd
|
make -C runtime
|
||||||
pushd stdlib && make && popd
|
make -C stdlib
|
||||||
|
|
||||||
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama 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))
|
||||||
|
|
@ -23,14 +23,14 @@ uninstall:
|
||||||
$(RM) `opam var bin`/$(EXECUTABLE)
|
$(RM) `opam var bin`/$(EXECUTABLE)
|
||||||
|
|
||||||
regression:
|
regression:
|
||||||
pushd regression && make clean check && popd
|
make clean check -C regression
|
||||||
pushd regression/x86only && make clean check && popd
|
make clean check -C regression/x86only
|
||||||
pushd stdlib/regression && make clean check && popd
|
make clean check -C stdlib/regression
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
pushd src && make clean && popd
|
make clean -C src
|
||||||
pushd runtime && make clean && popd
|
make clean -C runtime
|
||||||
pushd stdlib && make clean && popd
|
make clean -C stdlib
|
||||||
pushd regression && make clean && popd
|
make clean -C regression
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue