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