From 6d62e5974be9676e7c3b5ed3e64827797e181ba2 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Wed, 13 Apr 2016 13:38:24 -0400 Subject: [PATCH] add funny 80 target --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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