# It seems that compiling with -O2 fixes some bugs which would otherwise # appear. In particular, the Dynamic types stuff seems to break if you omit # the -O2 ... GHCFLAGS = -fglasgow-exts -O2 # Almost every bit of code uses the lang package GHC_PACKAGES = -package lang # Hrm, why doesn't automake build this for me? A bit lame, really :) $(top_builddir)/runtime_loader/libRuntimeLoader.a: cd $(top_builddir) && make -C runtime_loader libRuntimeLoader.a $(top_builddir)/core/libChiba.a: cd $(top_builddir) && make -C core libChiba.a $(top_builddir)/core/libChibaRender.a: cd $(top_builddir) && make -C core libChibaRender.a $(top_builddir)/core/libChibaHS.a: cd $(top_builddir) && make -C core libChibaHS.a $(top_builddir)/parsec/libParsec.a: cd $(top_builddir) && make -C parsec libParsec.a include $(top_srcdir)/Makefile.am.ghc