diff --git a/GenerateCPPCSP.hs b/GenerateCPPCSP.hs index 2ec83ec..af6d0fc 100644 --- a/GenerateCPPCSP.hs +++ b/GenerateCPPCSP.hs @@ -1,5 +1,5 @@ -- | Generate C code from the mangled AST. -module GenerateCPPCSP where +module GenerateCPPCSP (generateCPPCSP) where import Data.Char import Data.List diff --git a/Makefile b/Makefile index 01a03f8..a8f5d0d 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ sources = \ # profile_opts = -prof -auto-all $(targets): $(sources) - ghc -fglasgow-exts -fallow-undecidable-instances $(profile_opts) -o tock --make Main + ghc -fglasgow-exts -fallow-undecidable-instances -fwarn-unused-binds $(profile_opts) -o tock --make Main CFLAGS = \ -O2 \