diff options
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | 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 @@ -4,6 +4,9 @@ btasktdctl *.o *.a +# ctags +tags + .env .env.local @@ -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 $@ |
