Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 1 | LEVEL = ../.. |
Daniel Dunbar | c72e5ae | 2009-01-19 18:50:49 +0000 | [diff] [blame] | 2 | DIRS := lib Driver docs tools |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 3 | |
4 | include $(LEVEL)/Makefile.common | ||||
5 | |||||
Mike Stump | adc981a | 2009-01-20 21:10:41 +0000 | [diff] [blame] | 6 | ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) |
7 | test:: | ||||
8 | $(Verb) if [ ! -f test/Makefile ]; then \ | ||||
9 | $(MKDIR) test; \ | ||||
10 | $(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \ | ||||
11 | fi | ||||
12 | endif | ||||
13 | |||||
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 14 | test:: |
Chris Lattner | 9d294b9 | 2008-04-06 22:32:01 +0000 | [diff] [blame] | 15 | @ $(MAKE) -C test |
Gabor Greif | ab72ffe | 2008-03-18 06:14:16 +0000 | [diff] [blame] | 16 | |
17 | report:: | ||||
Chris Lattner | 9d294b9 | 2008-04-06 22:32:01 +0000 | [diff] [blame] | 18 | @ $(MAKE) -C test report |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 19 | |
20 | clean:: | ||||
Chris Lattner | 9d294b9 | 2008-04-06 22:32:01 +0000 | [diff] [blame] | 21 | @ $(MAKE) -C test clean |
Gabor Greif | 5267d7c | 2008-03-20 14:28:22 +0000 | [diff] [blame] | 22 | |
23 | .PHONY: test report clean |