summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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