Permalink
Browse files

Add barebones Makefile to wrap Cabal

  • Loading branch information...
1 parent ecbcb1d commit 7e298fbb4082d1472687f32a9538c57c342b06be @afcowie afcowie committed May 5, 2014
Showing with 18 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +17 −0 Makefile
View
@@ -1 +1,2 @@
dist
+tags
View
@@ -0,0 +1,17 @@
+all: build tags
+.PHONY: all build install
+
+build: dist/setup-config dist/build/hothasktags/hothasktags
+
+dist/setup-config:
+ cabal install --only-dependencies
+ cabal configure
+
+dist/build/hothasktags/hothasktags: Main.hs
+ cabal build
+
+install:
+ cabal install
+
+tags: build
+ dist/build/hothasktags/hothasktags *.hs > tags

0 comments on commit 7e298fb

Please sign in to comment.