build in subdir

This commit is contained in:
Joey Hess 2010-10-14 03:46:34 -04:00
parent f407f23a54
commit 50630840ee
2 changed files with 4 additions and 6 deletions

5
.gitignore vendored
View file

@ -1,5 +1,2 @@
*.o
*.hi
*.ho
*.a
build/*
git-annex

View file

@ -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