1 all: extcorelibs Check.hs Core.hs Driver.hs Env.hs Interp.hs ParsecParser.hs ParseGlue.hs Prep.hs PrimCoercions.hs Prims.hs Printer.hs
2 ghc -O2 --make -fglasgow-exts -o Driver Driver.hs
5 $(MAKE) -C lib/GHC_ExtCore
7 # Run this when the primops.txt file changes
8 prims: ../../compiler/prelude/primops.txt
9 ../genprimopcode/genprimopcode --make-ext-core-source < ../../compiler/prelude/primops.txt > PrimEnv.hs
12 # happy -ad -ihappy.debug -o Parser.hs Parser.y
14 # The following assumes that you've built all the GHC libs with -fext-core...
16 ./Driver -n `find ../../libraries -print | grep .hcr$$ | grep -v bootstrapping`
18 # ...or built all the nofib programs with -fext-core.
20 ./Driver `find ../../nofib -print | grep .hcr$$`