Capture original source for literals
[ghc.git] / testsuite / tests / ghc-api / annotations-literals / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 clean:
6 rm -f *.o *.hi
7
8 literals: clean
9 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc literals
10 ./literals "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
11
12 parsed: clean
13 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc parsed
14 ./parsed "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
15
16 .PHONY: clean