summaryrefslogtreecommitdiff
path: root/testsuite/tests/hsc2hs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/hsc2hs/Makefile')
-rw-r--r--testsuite/tests/hsc2hs/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/hsc2hs/Makefile b/testsuite/tests/hsc2hs/Makefile
new file mode 100644
index 0000000000..0b904f317c
--- /dev/null
+++ b/testsuite/tests/hsc2hs/Makefile
@@ -0,0 +1,16 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+ALL_TESTS = hsc2hs001 hsc2hs002
+
+.PHONY: $(TESTS)
+
+$(ALL_TESTS):
+ '$(HSC2HS)' $@.hsc
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c $@.hs
+
+.PHONY: 3837
+3837:
+ LANG=C '$(HSC2HS)' $@.hsc
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c $@.hs