Merge branch 'master' of http://darcs.haskell.org/testsuite
[ghc.git] / testsuite / tests / th / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 # Trac 2386 requires batch-compile not --make
6 # Very important: without -O
7 T2386:
8 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c T2386_Lib.hs -fforce-recomp
9 '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c T2386.hs -fforce-recomp
10
11
12 HC_OPTS = -XTemplateHaskell -package template-haskell
13
14 TH_spliceE5_prof::
15 $(RM) TH_spliceE5_prof*.o TH_spliceE5_prof*.hi TH_spliceE5_prof*.p.o
16 '$(TEST_HC)' $(TEST_HC_OPTS) $(HC_OPTS) --make -v0 TH_spliceE5_prof.hs -c
17 '$(TEST_HC)' $(TEST_HC_OPTS) $(HC_OPTS) --make -v0 TH_spliceE5_prof.hs -prof -auto-all -osuf p.o -o $@
18 ./$@
19