c7aa1e5cb8f697bf88c77aacbc6f5f4fe420e6e8
[ghc.git] / testsuite / tests / ghc-api / annotations / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 clean:
6 rm -f *.o *.hi
7 rm -f annotations comments parseTree exampleTest
8 rm -f t10269
9 rm -f t10255 t10312
10 rm -f t1037
11 rm -f t10309
12
13 annotations:
14 rm -f annotations.o annotations.hi
15 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc annotations
16 ./annotations "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
17
18 parseTree:
19 rm -f parseTree.o parseTree.hi
20 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc parseTree
21 ./parseTree "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
22
23 comments:
24 rm -f comments.o comments.hi
25 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc comments
26 ./comments "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
27
28 exampleTest:
29 rm -f exampleTest.o exampleTest.hi
30 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc exampleTest
31 ./exampleTest "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
32
33 listcomps:
34 rm -f listcomps.o listcomps.hi
35 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc listcomps
36 ./listcomps "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
37
38 t10255:
39 rm -f t10255.o t10255.hi
40 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10255
41 ./t10255 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
42
43 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255
44
45 T10268:
46 rm -f t10268.o t10268.hi
47 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10268
48 ./t10268 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
49
50 T10280:
51 rm -f t10280.o t10280.hi
52 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10280
53 ./t10280 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
54
55 .PHONY: clean annotations parseTree comments exampleTest listcomps
56
57 T10269:
58 rm -f T10269.o T10269.hi
59 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10269
60 ./t10269 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
61
62 .PHONY: t10269
63
64 t10312:
65 rm -f t10312.o t10312.hi
66 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10312
67 ./t10312 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
68
69 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255 t10312
70
71 t10307:
72 rm -f t10307.o t10307.hi
73 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10307
74 ./t10307 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
75
76 .PHONY: t10307
77
78 t10309:
79 rm -f t10309.o t10309.hi
80 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10309
81 ./t10309 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
82
83 .PHONY: t10309