summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 357575b..9528f45 100644
--- a/Makefile
+++ b/Makefile
@@ -39,4 +39,14 @@ clean-gen: clean
 check: $(OBJDIR)/$(BIN)
 	tools/unit.sh all
 
-.PHONY: clean clean-gen check syndoc
+80:
+	@for F in $(SRC);                          \
+	do                                         \
+		awk "{                             \
+			gsub(/\\t/, \"        \"); \
+			if (length(\$$0) > $@)     \
+				printf(\"$$F:%d: %s\\n\", NR, \$$0); \
+		}" < $$F;                          \
+	done
+
+.PHONY: clean clean-gen check 80 syndoc