Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 271 Bytes
ghc := ghc
ghcflags := -O
binaries := AesonParse AesonEncode JsonParse
all: $(binaries) $(binaries:%=%_p)
%_p: %.hs
$(ghc) $(ghcflags) -prof -auto-all --make -o $@ $^
%: %.hs
$(ghc) $(ghcflags) --make -o $@ $^
clean:
-rm -f *.o *.hi $(binaries) $(binaries:%=%_p)
Something went wrong with that request. Please try again.