quox/Makefile
2022-05-04 18:49:00 +02:00

25 lines
374 B
Makefile

all: quox
quox:
nix build '.#quox-exe'
ln -sfL $$(realpath result/bin/quox) quox
quox-tests:
nix build '.#quox-tests'
ln -sfL $$(realpath result/bin/quox-tests) quox-tests
.PHONY: lib
lib:
nix build '.#quox'
.PHONY: test
test:
nix run -- '.#quox-tests' -V 14
.PHONY: prove
prove: quox-tests
prove ./quox-tests
.PHONY: clean
clean:
rm -f quox quox-tests result