This is How to Build Haskell with GNU Make (and why it’s worth trying)

James Bowen
12 min readApr 17, 2023

In a previous article I showed the GHC commands you need to compile a basic Haskell executable without explicitly using the source files from its dependencies. But when you’re writing your own Haskell code, 99% of the time you want to be using a Haskell build system like Stack or Cabal for your compilation needs instead of writing your own GHC commands. (And you can…

--

--