quox/Makefile

27 lines
322 B
Makefile

all: quox
quox: exe
cp exe/build/exec/quox .
.PHONY: lib
lib:
idris2 --build quox.ipkg
.PHONY: exe
exe:
$(MAKE) -C exe exe
.PHONY: test
test:
$(MAKE) -C tests test
.PHONY: prove
prove:
$(MAKE) -C tests prove
.PHONY: clean
clean:
$(RM) -r build depends
$(RM) quox
$(MAKE) -C exe clean
$(MAKE) -C tests clean