on 0.3.1.1 help sign in
15 lines 270 B history raw
1ghc := ghc
2ghcflags := -O
4binaries := AesonParse EncodeFile JsonParse
6all: $(binaries) $(binaries:%=%_p)
8%_p: %.hs
9 $(ghc) $(ghcflags) -prof -auto-all --make -o $@ $^
11%: %.hs
12 $(ghc) $(ghcflags) --make -o $@ $^
14clean:
15 -rm -f *.o *.hi $(binaries) $(binaries:%=%_p)