1 all: 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
4 # Run this when the primops.txt file changes
5 prims: ../../compiler/prelude/primops.txt
6 ../genprimopcode/genprimopcode --make-ext-core-source < ../../compiler/prelude/primops.txt > PrimEnv.hs
9 # happy -ad -ihappy.debug -o Parser.hs Parser.y
11 # The following assumes that you've built all the GHC libs with -fext-core...
13 ./Driver `find ../../libraries -print | grep .hcr$$ | grep -v bootstrapping`
15 # ...or built all the nofib programs with -fext-core.
17 ./Driver `find ../../nofib -print | grep .hcr$$`