Makefile 666 Bytes
Newer Older
Alan Zimmerman's avatar
Alan Zimmerman committed
1 2 3 4 5 6 7
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

clean:
	rm -f *.o *.hi

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

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

18 19
comments: 
	rm -f comments.o comments.hi
Alan Zimmerman's avatar
Alan Zimmerman committed
20 21 22 23 24
	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc comments
	./comments "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"


.PHONY: clean