Documentation, tests for hsc2hs's new #alignment macro
[ghc.git] / testsuite / tests / hsc2hs / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 .PHONY: hsc2hs001
6 hsc2hs001:
7 '$(HSC2HS)' $@.hsc
8 '$(TEST_HC)' $(TEST_HC_OPTS) -c $@.hs
9
10 .PHONY: hsc2hs002
11 hsc2hs002:
12 '$(HSC2HS)' $@.hsc
13 '$(TEST_HC)' $(TEST_HC_OPTS) -c $@.hs
14
15 .PHONY: hsc2hs003
16 hsc2hs003:
17 '$(HSC2HS)' $@.hsc
18 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make $@
19 ./$@
20
21 .PHONY: hsc2hs004
22 hsc2hs004:
23 '$(HSC2HS)' --cross-compile $@.hsc
24 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make $@
25 ./$@
26
27 .PHONY: T3837
28 T3837:
29 LANG=C '$(HSC2HS)' $@.hsc
30 '$(TEST_HC)' $(TEST_HC_OPTS) -c $@.hs
31
32 .PHONY: T4340
33 T4340:
34 '$(HSC2HS)' $@.hsc
35 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make $@
36 ./$@
37
38 .PHONY: T10272
39 T10272:
40 '$(HSC2HS)' --cross-compile $@.hsc
41 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make $@
42 ./$@