move executable to subdir
This commit is contained in:
parent
874187f252
commit
cf119694c1
4 changed files with 26 additions and 8 deletions
15
Makefile
15
Makefile
|
@ -1,16 +1,15 @@
|
|||
all: lib exe
|
||||
all: quox
|
||||
|
||||
quox: exe
|
||||
cp exe/build/exec/quox .
|
||||
|
||||
.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
|
||||
exe:
|
||||
make -C exe exe
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
|
@ -19,4 +18,6 @@ test:
|
|||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build depends
|
||||
rm -f quox
|
||||
make -C exe clean
|
||||
make -C tests clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue