Makefile 622 Bytes
Newer Older
1
TOP=../..
2 3
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
Simon Peyton Jones's avatar
Simon Peyton Jones committed
4 5 6 7

clean:
	rm -f *.o *.hi

8 9
T6145:
	rm -f T6145.o T6145.hi
Simon Peyton Jones's avatar
Simon Peyton Jones committed
10 11 12
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T6145
	./T6145 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"

13 14
T8639_api:
	rm -f T8639_api.o T8639_api.hi
Simon Peyton Jones's avatar
Simon Peyton Jones committed
15 16 17
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8639_api
	./T8639_api "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"

18 19
T8628:
	rm -f T8628.o T8628.hi
Simon Peyton Jones's avatar
Simon Peyton Jones committed
20 21 22
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8628
	./T8628 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"

Simon Peyton Jones's avatar
Simon Peyton Jones committed
23 24 25
.PHONY: clean T6145