Fix External Core interpreter
[ghc-hetmet.git] / utils / ext-core / Makefile
index 7015105..c26523a 100644 (file)
@@ -1,6 +1,9 @@
-all:   Check.hs Core.hs Driver.hs Env.hs Interp.hs ParsecParser.hs ParseGlue.hs Prep.hs PrimCoercions.hs Prims.hs Printer.hs
+all:   extcorelibs Check.hs Core.hs Driver.hs Env.hs Interp.hs ParsecParser.hs ParseGlue.hs Prep.hs PrimCoercions.hs Prims.hs Printer.hs
        ghc -O2 --make -fglasgow-exts -o Driver Driver.hs
 
+extcorelibs:
+       $(MAKE) -C lib/GHC_ExtCore
+
 # Run this when the primops.txt file changes
 prims:  ../../compiler/prelude/primops.txt
        ../genprimopcode/genprimopcode --make-ext-core-source < ../../compiler/prelude/primops.txt > PrimEnv.hs