summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-15 09:56:32 -0400
committerJune McEnroe <june@causal.agency>2020-08-15 09:56:32 -0400
commit3e2568aeb07f1df1b0e70a98130570cd229c10e3 (patch)
tree9f5c47ba88397f9c34e7a83067717ebdb67d1975 /Makefile
parentJust use CLOCK_MONOTONIC and clean up includes (diff)
downloadcatsit-3e2568aeb07f1df1b0e70a98130570cd229c10e3.tar.gz
catsit-3e2568aeb07f1df1b0e70a98130570cd229c10e3.zip
Generate tags file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5698196..5cf0897 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ MAN5 = spawntab.5
 OBJS += daemon.o
 OBJS += service.o
 
+dev: tags all
+
 all: ${BINS}
 
 spawnd: ${OBJS}
@@ -22,8 +24,11 @@ spawnd: ${OBJS}
 
 ${OBJS}: daemon.h
 
+tags: *.c *.h
+	ctags -w *.c *.h
+
 clean:
-	rm -f ${BINS} ${OBJS}
+	rm -f ${BINS} ${OBJS} tags
 
 install: ${BINS} ${MAN5} ${MAN8}
 	install -d ${DESTDIR}${PREFIX}/sbin