10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-22 12:23:31 +01:00
QCaml/Makefile
2024-09-05 14:48:58 +02:00

37 lines
614 B
Makefile

# Frontend to dune.
# No implicit rules
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
.PHONY: default build install uninstall test clean
default: build
build:
cd top ; ./install_printers.sh > ./lib/install_printers.ml
dune build
build-prof:
top/install_printers.sh > top/lib/install_printers.ml
dune build --workspace=dune-workspace.profile
test:
dune runtest -f
test-prof:
dune runtest -f --workspace=dune-workspace.profile
install:
dune install
uninstall:
dune uninstall
clean:
dune clean
# Optionally, remove all files/folders ignored by git as defined
# in .gitignore (-X).
git clean -dfXq