Split sections support for GHC
[cabal.git] / Makefile
blob9d90f05c214355cd08421ae1f3ad4e420bebe7d0
1 .PHONY : all lexer lib exe doctest
3 LEXER_HS:=Cabal/Distribution/Parsec/Lexer.hs
5 all : exe lib
7 lexer : $(LEXER_HS)
9 $(LEXER_HS) : boot/Lexer.x
10 alex --latin1 --ghc -o $@ $^
12 lib : $(LEXER_HS)
13 cabal new-build --enable-tests Cabal
15 exe : $(LEXER_HS)
16 cabal new-build --enable-tests cabal
18 doctest :
19 doctest --fast Cabal/Distribution Cabal/Language