23 lines
294 B
Makefile
23 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
|