quox/Makefile
2022-04-27 20:10:47 +02:00

22 lines
294 B
Makefile

all: lib exe
.PHONY: lib
lib:
idris2 --build quox.ipkg
depends/quox: lib
mkdir -p depends
ln -sf ../build/ttc depends/quox
.PHONY: exe
exe: depends/quox
idris2 --build quox-exe.ipkg
.PHONY: test
test:
make -C tests test
.PHONY: clean
clean:
rm -rf build depends
make -C tests clean