X-Git-Url: https://mattmccutchen.net/match/match.git/blobdiff_plain/affb6e6a27325110e9f65c16506779eacf8c6c36..7b8c0e4e53d51ee1d3207493738ee9a36e7181d8:/program/Makefile diff --git a/program/Makefile b/program/Makefile index a86037f..78eb667 100644 --- a/program/Makefile +++ b/program/Makefile @@ -1,5 +1,9 @@ # Let's keep it simple for now. +# -cpp: Handle GHC 6.6.1 compatibility checks. +# -fglasgow-exts: Handle rank-2 type of RandomizedMonad, among other things. all: - ghc --make -c *.hs + ghc -cpp -fglasgow-exts --make -c *.hs +all-optimized: + ghc -cpp -fglasgow-exts --make -O -hisuf O.hi -osuf O.o -c *.hs clean: rm -f *.hi *.o