mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
Add makefile support for tags.
Also, update .gitignore for various things. Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
parent
6016d33b80
commit
4ed889295c
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,8 +5,11 @@ bcachefs
|
|||||||
*.d
|
*.d
|
||||||
*.a
|
*.a
|
||||||
tags
|
tags
|
||||||
|
TAGS
|
||||||
cscope*
|
cscope*
|
||||||
bcachefs-tools
|
bcachefs-tools
|
||||||
|
tests/test_helper
|
||||||
|
tests/__pycache__/
|
||||||
|
|
||||||
# dot-files that we don't want to ignore
|
# dot-files that we don't want to ignore
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
7
Makefile
7
Makefile
@ -70,6 +70,13 @@ all: bcachefs
|
|||||||
check: tests/test_helper bcachefs
|
check: tests/test_helper bcachefs
|
||||||
cd tests; $(PYTEST)
|
cd tests; $(PYTEST)
|
||||||
|
|
||||||
|
.PHONY: TAGS tags
|
||||||
|
TAGS:
|
||||||
|
ctags -e -R .
|
||||||
|
|
||||||
|
tags:
|
||||||
|
ctags -R .
|
||||||
|
|
||||||
SRCS=$(shell find . -type f -iname '*.c')
|
SRCS=$(shell find . -type f -iname '*.c')
|
||||||
DEPS=$(SRCS:.c=.d)
|
DEPS=$(SRCS:.c=.d)
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
|
Loading…
Reference in New Issue
Block a user