X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fext-core%2FMakefile;h=99bd6d29c78275132c6ae297172bbcbbcae6a904;hb=6bc54d1524cd6d10a978bef89bc6a8f0061adb66;hp=e3023875cec6522d7636f552fb6fd3093413ef32;hpb=6e93da5e0a775b2bfb9c9f2bd31a36cc828521cb;p=ghc-hetmet.git diff --git a/utils/ext-core/Makefile b/utils/ext-core/Makefile index e302387..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 ParsecParser.hs ParseGlue.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 -ad -ihappy.debug -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$$`