diff --git a/Makefile b/Makefile
index 44c308d23980a332f930b016b0d1823820a60437..28435d4affe044959929623dd3b2845ece5cb1c3 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,9 @@ uninstall:
 	$(RM) $(PREFIX)/bin/trip
 	$(RM) $(PREFIX)/share/man/man1/trip.1
 
+TAGS: trip.c trip.h macs.h
+	etags $^
+
 .PHONY: clean
 clean:
 	$(RM) $(GENSRC) $(OBJ) fix-pie trip