summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/apirecomp001/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/apirecomp001/Makefile')
-rw-r--r--testsuite/tests/ghc-api/apirecomp001/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/apirecomp001/Makefile b/testsuite/tests/ghc-api/apirecomp001/Makefile
new file mode 100644
index 0000000000..e2b88c8e51
--- /dev/null
+++ b/testsuite/tests/ghc-api/apirecomp001/Makefile
@@ -0,0 +1,11 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+clean:
+ rm -f *.o *.hi
+
+apirecomp001: clean
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc myghc.hs
+ ./myghc "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
+