Change a use of xargs to "$(XARGS)" $(XARGS_OPTS)
[ghc-hetmet.git] / utils / ext-core / Makefile
index 67afd43..99bd6d2 100644 (file)
@@ -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$$`