Add command-line interface ./match (adapted from POPL 2012 version).
[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         ghc -cpp -fglasgow-exts --make *.hs -o match
7 all-optimized:
8 #       ghc -cpp -fglasgow-exts --make -O -hisuf O.hi -osuf O.o -c *.hs
9         ghc -cpp -fglasgow-exts --make -O -hisuf O.hi -osuf O.o *.hs -o match.O
10 clean:
11         rm -f *.hi *.o match
12
13 # Necessary libraries (on Fedora): ghc-fgl, ghc-csv.  Others I miss?