X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fext-core%2FMakefile;h=99bd6d29c78275132c6ae297172bbcbbcae6a904;hb=6bc54d1524cd6d10a978bef89bc6a8f0061adb66;hp=67afd4359b714c35062f16c5ed7ee0cd91b49667;hpb=276585028d51a2516a31b91a91a1f4bba5c9f8ba;p=ghc-hetmet.git diff --git a/utils/ext-core/Makefile b/utils/ext-core/Makefile index 67afd43..99bd6d2 100644 --- a/utils/ext-core/Makefile +++ b/utils/ext-core/Makefile @@ -1,5 +1,11 @@ -all: Check.hs Core.hs Driver.hs Env.hs Interp.hs Lex.hs ParseGlue.hs Parser.hs Prep.hs Prims.hs Printer.hs - ghc --make -fglasgow-exts -o Driver Driver.hs +# This makefile is just for running the tests. For everything else, +# use Cabal! (The tests could be run with Cabal too, I'm just too lazy +# to figure out how.) -Parser.hs: Parser.y - happy -o Parser.hs Parser.y \ No newline at end of file +# The following assumes that you've built all the GHC libs with -fext-core... +libtest: + ./Driver -n `find ../../libraries -print | grep .hcr$$ | grep -v bootstrapping` + +# ...or built all the nofib programs with -fext-core. +nofibtest: + ./Driver `find ../../nofib -print | grep .hcr$$`