summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-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