Add compatibility gorp for GHC 6.6.1.
[match/match.git] / program / Makefile
CommitLineData
d7d9561e 1# Let's keep it simple for now.
7b8c0e4e
MM
2# -cpp: Handle GHC 6.6.1 compatibility checks.
3# -fglasgow-exts: Handle rank-2 type of RandomizedMonad, among other things.
d7d9561e 4all:
7b8c0e4e 5 ghc -cpp -fglasgow-exts --make -c *.hs
2ed0056e 6all-optimized:
7b8c0e4e 7 ghc -cpp -fglasgow-exts --make -O -hisuf O.hi -osuf O.o -c *.hs
d7d9561e
MM
8clean:
9 rm -f *.hi *.o