diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-13 13:38:24 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-13 17:43:18 -0400 |
commit | 6d62e5974be9676e7c3b5ed3e64827797e181ba2 (patch) | |
tree | 9ee060ffd9d624df95a3a82a765ce8c6187ed389 | |
parent | 9441c55fc67c2824353a6f2ba99b9a232a26f782 (diff) | |
download | roux-6d62e5974be9676e7c3b5ed3e64827797e181ba2.tar.gz |
add funny 80 target
-rw-r--r-- | Makefile | 12 |
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 |