aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-01-10 12:00:34 -0500
committerB. Watson <urchlay@slackware.uk>2024-01-10 12:00:34 -0500
commitf833c4fbabb8a46692f4ec4d32f738dfd9974ce8 (patch)
treeba2639a9678c75aff6f22805b9f09a3c29f3fe20
parente8439101f570b469bcb01e8762fb4d54522f7425 (diff)
downloadhcalc-f833c4fbabb8a46692f4ec4d32f738dfd9974ce8.tar.gz
Makefile: add tags and indent targets.
-rw-r--r--Makefile10
1 files 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