2007-07-11 21:01:13 +04:00
|
|
|
LEVEL = ../..
|
2009-03-24 06:00:12 +03:00
|
|
|
DIRS := include lib tools docs
|
2007-07-11 21:01:13 +04:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2009-01-21 00:10:41 +03:00
|
|
|
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
|
|
|
|
test::
|
|
|
|
$(Verb) if [ ! -f test/Makefile ]; then \
|
|
|
|
$(MKDIR) test; \
|
|
|
|
$(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \
|
|
|
|
fi
|
|
|
|
endif
|
|
|
|
|
2007-07-11 21:01:13 +04:00
|
|
|
test::
|
2008-04-07 02:32:01 +04:00
|
|
|
@ $(MAKE) -C test
|
2008-03-18 09:14:16 +03:00
|
|
|
|
|
|
|
report::
|
2008-04-07 02:32:01 +04:00
|
|
|
@ $(MAKE) -C test report
|
2007-07-11 21:01:13 +04:00
|
|
|
|
|
|
|
clean::
|
2008-04-07 02:32:01 +04:00
|
|
|
@ $(MAKE) -C test clean
|
2008-03-20 17:28:22 +03:00
|
|
|
|
2009-02-12 05:25:47 +03:00
|
|
|
tags::
|
|
|
|
$(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/`
|
|
|
|
|
2009-03-18 08:59:14 +03:00
|
|
|
cscope.files:
|
2009-03-24 06:00:12 +03:00
|
|
|
find tools lib include -name '*.cpp' \
|
2009-03-18 08:59:14 +03:00
|
|
|
-or -name '*.def' \
|
|
|
|
-or -name '*.td' \
|
|
|
|
-or -name '*.h' > cscope.files
|
|
|
|
|
|
|
|
.PHONY: test report clean cscope.files
|