39 lines
864 B
Makefile
39 lines
864 B
Makefile
.PHONY: build test clean install repl examples bench all
|
|
|
|
all: build
|
|
|
|
build:
|
|
dune build
|
|
|
|
test:
|
|
dune test
|
|
|
|
clean:
|
|
dune clean
|
|
|
|
install:
|
|
dune install
|
|
|
|
repl:
|
|
dune exec leibniz-repl
|
|
|
|
examples:
|
|
@echo "running basic example..."
|
|
@dune exec examples/basic.exe
|
|
@echo "\nrunning calculus example..."
|
|
@dune exec examples/calculus.exe
|
|
@echo "\nrunning multivariate example..."
|
|
@dune exec examples/multivariate.exe
|
|
@echo "\nrunning physics example..."
|
|
@dune exec examples/physics.exe
|
|
@echo "\nrunning numerical example..."
|
|
@dune exec examples/numerical.exe
|
|
@echo "\nrunning symbolic constants example..."
|
|
@dune exec examples/symbolic_constants.exe
|
|
@echo "\nrunning advanced tier 1 example..."
|
|
@dune exec examples/advanced_tier1.exe
|
|
@echo "\nrunning advanced tier 2 example..."
|
|
@dune exec examples/advanced_tier2.exe
|
|
|
|
bench:
|
|
dune exec bench/bench_suite.exe
|