quox/tests/Makefile

26 lines
366 B
Makefile

all: test
.PHONY: lib
lib:
$(MAKE) -C .. lib
depends/quox: lib
mkdir -p depends
ln -sf ../../build/ttc depends/quox
.PHONY: build-tests
build-tests: depends/quox
idris2 --build tests.ipkg
.PHONY: test
test: build-tests
build/exec/quox-tests -V 14
.PHONY: prove
prove: build-tests
prove build/exec/quox-tests
.PHONY: clean
clean:
$(RM) -r build depends