From 63087638215286ba135ceeb310e330f8b28456fa Mon Sep 17 00:00:00 2001 From: "Mr. Goblin" Date: Sun, 27 Sep 2026 02:36:17 +0300 Subject: make ctags target --- .gitattributes | 1 - .gitignore | 3 +++ Makefile | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 2f14ddf..de2f316 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,2 @@ .gitignore export-ignore .gitattributes export-ignore -dist.sh export-ignore diff --git a/.gitignore b/.gitignore index 2d5475f..d89391c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ btasktdctl *.o *.a +# ctags +tags + .env .env.local diff --git a/Makefile b/Makefile index 6def93e..133e59c 100644 --- a/Makefile +++ b/Makefile @@ -24,15 +24,19 @@ MAINBINARIES = btasktd .SUFFIXES: .SUFFIXES: .c .o +.PHONY: all clean dist ctags all: $(MAINBINARIES) +ctags: + ctags *.c *.h *.cpp *.hpp + dist: git archive --format=tar --prefix=$(DIST_NAME)/ HEAD | \ bzip2 > $(DIST_NAME).tar.bz2 clean: - rm -f $(MAINBINARIES) *.o *.test + rm -f $(MAINBINARIES) *.o *.test tags .c.o: $(CC) $(DEBUG) $(CFLAGS) -c $< -o $@ -- cgit v1.3