summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T23315/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/T23315/Makefile')
-rw-r--r--testsuite/tests/parser/should_compile/T23315/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/T23315/Makefile b/testsuite/tests/parser/should_compile/T23315/Makefile
new file mode 100644
index 0000000000..879e49d09f
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/T23315/Makefile
@@ -0,0 +1,18 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+SETUP = ./Setup -v0
+
+T23315: clean
+ $(MAKE) clean
+ '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup
+ $(SETUP) clean
+ $(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)'
+ $(SETUP) build 1>&2
+ifneq "$(CLEANUP)" ""
+ $(MAKE) clean
+endif
+
+clean :
+ $(RM) -r */dist Setup$(exeext) *.o *.hi