Files
scylladb/Makefile
Asias He 92b9d5198c build: Add cscope target
Signed-off-by: Asias He <asias@cloudius-systems.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
2014-09-13 07:19:47 +03:00

16 lines
280 B
Makefile

mode = release
out = build/$(mode)
all:
@mkdir -p $(out)
$(MAKE) -C $(out) src=../.. -f ../../build.mk $(MAKEFLAGS) mode=$(mode)
clean:
rm -rf $(out)
cscope:
find -name '*.[chS]' -o -name "*.cc" -o -name "*.hh" | cscope -bq -i-
@echo cscope index created
.PHONY: cscope