lama_byterun/Makefile

39 lines
664 B
Makefile
Raw Normal View History

.PHONY: all regression
.PHONY: clean test regression regression-expressions regression-all uninstall install build
2020-02-13 18:56:27 +03:00
INSTALL ?= install -v
MKDIR ?= mkdir
BUILDDIR = _build
2018-02-13 02:03:27 +03:00
.DEFAULT_GOAL := build
2018-02-13 02:03:27 +03:00
all: build test
2018-02-13 02:03:27 +03:00
build:
dune b src runtime runtime32 stdlib tutorial
2024-02-06 15:05:19 +01:00
2020-02-13 18:56:27 +03:00
install: all
dune b @install --profile=release
dune install --profile=release
2020-02-13 18:56:27 +03:00
_build/default/Lama.install:
dune b @install
uninstall: _build/default/Lama.install
2020-02-13 18:56:27 +03:00
$(RM) -r `opam var share`/Lama
dune uninstall
2018-02-19 17:19:00 +03:00
2023-10-04 10:39:39 +02:00
regression-all: regression regression-expressions
2023-09-05 20:55:48 +02:00
test: regression
2018-02-19 17:19:00 +03:00
regression:
dune test regression
2023-09-05 20:55:48 +02:00
regression-expressions:
dune test regression_long
2018-02-13 02:03:27 +03:00
clean:
@dune clean