From f833c4fbabb8a46692f4ec4d32f738dfd9974ce8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 10 Jan 2024 12:00:34 -0500 Subject: Makefile: add tags and indent targets. --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 441321e..29012a8 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ $(MANPAGE): $(PROJ).rst version.rst rst2man $(PROJ).rst > $(MANPAGE) clean: - rm -f *.o *.d *~ \#* $(PROJ) core + rm -f *.o *.d *~ \#* $(PROJ) core tags realclean: clean rm -f VERSION version.h version.rst $(MANPAGE) @@ -104,4 +104,10 @@ install: all release: sh makerelease.sh $(VERSION) -.PHONY: all clean realclean install release +indent: + indent *.[ch] + +tags: + ctags *.[ch] + +.PHONY: all clean realclean install release indent -- cgit v1.2.3