makefiles. again
This commit is contained in:
parent
1eace0039e
commit
45825ebc17
3 changed files with 41 additions and 0 deletions
22
Makefile
Normal file
22
Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue