summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-14 03:46:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-14 03:46:34 -0400
commit50630840ee6802fef9db136505975db40a81920a (patch)
treee35163b15518582631ae21a4d4f9461409b655a5 /Makefile
parentf407f23a54d9152a382ee8e48629f40e1a72a26f (diff)
build in subdir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8b7c9d3a0..876407de0 100644
--- a/Makefile
+++ b/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