lama_byterun/Makefile
deker104 91b18d023b fix: update build files
Add `install` stanza to `dune` files to install std and runtime to
expected directories

Delete manual copying from `install` scenario in `Makefile`
2024-11-12 07:43:17 +00:00

38 lines
664 B
Makefile

.PHONY: all regression
.PHONY: clean test regression regression-expressions regression-all uninstall install build
INSTALL ?= install -v
MKDIR ?= mkdir
BUILDDIR = _build
.DEFAULT_GOAL := build
all: build test
build:
dune b src runtime runtime32 stdlib tutorial
install: all
dune b @install --profile=release
dune install --profile=release
_build/default/Lama.install:
dune b @install
uninstall: _build/default/Lama.install
$(RM) -r `opam var share`/Lama
dune uninstall
regression-all: regression regression-expressions
test: regression
regression:
dune test regression
regression-expressions:
dune test regression_long
clean:
@dune clean