aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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 $@