-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$$`