Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (13 sloc) 291 Bytes
ghc := ghc
programs := bm simple c-printf c-wprintf
all: $(programs)
bm: Benchmarks.hs
$(ghc) -rtsopts -O -o $@ $<
simple: Simple.hs
$(ghc) -rtsopts -O -o $@ $<
c-printf: printf.c
$(CC) -O2 -o $@ $<
c-wprintf: wprintf.c
$(CC) -O2 -o $@ $<
clean:
-rm -f $(programs) *.hi *.o *.hp
Jump to Line
Something went wrong with that request. Please try again.