build in subdir
This commit is contained in:
parent
f407f23a54
commit
50630840ee
2 changed files with 4 additions and 6 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,5 +1,2 @@
|
|||
*.o
|
||||
*.hi
|
||||
*.ho
|
||||
*.a
|
||||
build/*
|
||||
git-annex
|
||||
|
|
5
Makefile
5
Makefile
|
@ -1,7 +1,8 @@
|
|||
git-annex:
|
||||
ghc --make git-annex
|
||||
mkdir -p build
|
||||
ghc -odir build -hidir build --make git-annex
|
||||
|
||||
clean:
|
||||
rm -f git-annex *.o *.hi *.ho *.a
|
||||
rm -rf build git-annex
|
||||
|
||||
.PHONY: git-annex
|
||||
|
|
Loading…
Reference in a new issue