PARTS = core transformers monads-fd monads-tf mtl template .PHONY: all test all: for dir in $(PARTS); do \ (cd $$dir && \ cabal install); \ done test: for dir in $(PARTS); do \ (cd $$dir && \ runhaskell Setup configure --user && \ runhaskell Setup build && \ runhaskell Setup haddock); \ done