blob: 72bfaa78e65d12270d7dd1e0f224e519f136c679 [file] [log] [blame]
Chris Lattner4b009652007-07-25 00:24:17 +00001LEVEL = ../..
Daniel Dunbarb32644f2009-01-19 18:50:49 +00002DIRS := lib Driver docs tools
Chris Lattner4b009652007-07-25 00:24:17 +00003
4include $(LEVEL)/Makefile.common
5
Mike Stump07963172009-01-20 21:10:41 +00006ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
7test::
8 $(Verb) if [ ! -f test/Makefile ]; then \
9 $(MKDIR) test; \
10 $(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \
11 fi
12endif
13
Chris Lattner4b009652007-07-25 00:24:17 +000014test::
Chris Lattner513a6f72008-04-06 22:32:01 +000015 @ $(MAKE) -C test
Gabor Greife8a193c2008-03-18 06:14:16 +000016
17report::
Chris Lattner513a6f72008-04-06 22:32:01 +000018 @ $(MAKE) -C test report
Chris Lattner4b009652007-07-25 00:24:17 +000019
20clean::
Chris Lattner513a6f72008-04-06 22:32:01 +000021 @ $(MAKE) -C test clean
Gabor Greifefce7122008-03-20 14:28:22 +000022
Mike Stump061c0e12009-02-12 02:25:47 +000023tags::
24 $(Verb) etags `find . -type f -name \*.h | grep -v /lib/Headers | grep -v /test/` `find . -type f -name \*.cpp | grep -v /lib/Headers | grep -v /test/`
25
Gabor Greifefce7122008-03-20 14:28:22 +000026.PHONY: test report clean