added new Makefile in the top directory which calls Cabal for compilation

This commit is contained in:
krasimir
2009-04-30 07:57:56 +00:00
parent ae6e8ee401
commit 2c3ffb85c8
3 changed files with 35 additions and 17 deletions

24
Makefile Normal file
View File

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