26 lines
361 B
Makefile
26 lines
361 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 -rf build depends
|