cleaning of testsuite
[ghc.git] / testsuite / Makefile
1 TOP = .
2
3 # If we're cleaning then we don't want to do all the GHC detection hardwork,
4 # and we certainly don't want to fail if GHC etc can't be found!
5 # However, we can't just put this conditional in boilerplate.mk, as
6 # some of the tests have a "clean" makefile target that relies on GHC_PKG
7 # being defined.
8 ifneq "$(MAKECMDGOALS)" "clean"
9 ifneq "$(MAKECMDGOALS)" "distclean"
10
11 include $(TOP)/mk/boilerplate.mk
12
13 boot:
14 $(MAKE) -C $(TOP)/timeout all
15
16 all:
17 $(MAKE) -C $(TOP)/tests all
18
19 endif
20 endif
21
22 clean distclean maintainer-clean:
23 $(MAKE) -C $(TOP)/timeout $@
24