summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/show-srcspan/Makefile
blob: 8adcaa4f80c3b5251f16a8b0f5fa98237cefa543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

clean:
	rm -f *.o *.hi

showsrcspan: clean
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc showsrcspan
	./showsrcspan "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"


.PHONY: clean showsrcspan