summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-13 13:38:24 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-13 17:43:18 -0400
commit6d62e5974be9676e7c3b5ed3e64827797e181ba2 (patch)
tree9ee060ffd9d624df95a3a82a765ce8c6187ed389
parent9441c55fc67c2824353a6f2ba99b9a232a26f782 (diff)
downloadroux-6d62e5974be9676e7c3b5ed3e64827797e181ba2.tar.gz
add funny 80 target
-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