From d3989c160bdc3ecc59f87c1ccf41d2ca06b60281 Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philip.kaludercic@fau.de>
Date: Fri, 15 Sep 2023 21:35:20 +0200
Subject: [PATCH] Add a TAGS rule to Makefile

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 44c308d..28435d4 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
-- 
GitLab