4 # for statically linking the stdlib:
5 # make sure to change in Main.hs
6 # loadLibraryPermanently (Just "stdlib.dylib")
8 # loadLibraryPermanently Nothing
12 Main: Main.hs stdlib.o
13 ghc $^ -o $@ -optl -Wl,-exported_symbols_list,stdlib.syms \
14 -no-keep-hi-files -no-keep-o-files