Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (10 sloc) 0.315 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
ghc := ghc
ghcflags := -O

binaries := AesonParse AesonEncode JsonParse AesonCompareAutoInstances

all: $(binaries) $(binaries:%=%_p)

%_p: %.hs
$(ghc) $(ghcflags) -prof -auto-all -rtsopts --make -o $@ $^

%: %.hs
$(ghc) $(ghcflags) --make -rtsopts -o $@ $^

clean:
-rm -f *.o *.hi $(binaries) $(binaries:%=%_p)
Something went wrong with that request. Please try again.