2024-09-05 18:32:06 +03:00
|
|
|
.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
|
2024-09-05 18:32:06 +03:00
|
|
|
BUILDDIR = _build
|
2018-02-13 02:03:27 +03:00
|
|
|
|
2024-09-05 19:36:55 +03:00
|
|
|
.DEFAULT_GOAL := build
|
2018-02-13 02:03:27 +03:00
|
|
|
|
2024-09-05 19:36:55 +03:00
|
|
|
all: build test
|
2018-02-13 02:03:27 +03:00
|
|
|
|
2024-09-05 19:36:55 +03:00
|
|
|
build:
|
2024-09-05 19:52:45 +03:00
|
|
|
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
|
2024-09-05 18:32:06 +03:00
|
|
|
dune b @install --profile=release
|
|
|
|
|
dune install --profile=release
|
2020-02-13 18:56:27 +03:00
|
|
|
|
2024-11-15 21:45:36 +03:00
|
|
|
_build/default/Lama.install:
|
2024-11-01 22:09:26 +03:00
|
|
|
dune b @install
|
|
|
|
|
|
|
|
|
|
uninstall: _build/default/Lama.install
|
2020-02-13 18:56:27 +03:00
|
|
|
$(RM) -r `opam var share`/Lama
|
2024-09-05 18:32:06 +03:00
|
|
|
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
|
|
|
|
2024-09-05 18:32:06 +03:00
|
|
|
test: regression
|
2018-02-19 17:19:00 +03:00
|
|
|
regression:
|
2024-11-15 21:45:36 +03:00
|
|
|
dune test regression stdlib/regression
|
2023-09-05 20:55:48 +02:00
|
|
|
|
|
|
|
|
regression-expressions:
|
2024-09-05 18:32:06 +03:00
|
|
|
dune test regression_long
|
2023-10-04 05:27:33 +02:00
|
|
|
|
2018-02-13 02:03:27 +03:00
|
|
|
clean:
|
2024-09-05 18:32:06 +03:00
|
|
|
@dune clean
|
|
|
|
|
|