summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-04-30 07:57:56 +0000
committerkrasimir <krasimir@chalmers.se>2009-04-30 07:57:56 +0000
commit2c3ffb85c8533308f5464ae1997a7f7224a526d7 (patch)
treee21f8fff94cd8bfa10fd76237a5e68170b436d95 /Makefile
parentae6e8ee401e170224312d78cf43e0e51e49e9976 (diff)
added new Makefile in the top directory which calls Cabal for compilation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..aa8b511ee
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+.PHONY: all gf install doc clean sdist lib
+
+all: gf lib
+
+dist/setup-config:
+ runghc Setup.lhs configure
+
+gf: dist/setup-config
+ runghc Setup.lhs build
+
+install:
+ runghc Setup.lhs install
+
+doc:
+ runghc Setup.lhs haddock
+
+clean:
+ runghc Setup.lhs clean
+
+sdist:
+ runghc Setup.lhs sdist
+
+lib:
+ $(MAKE) -C lib/resource clean all