Haskell version of make