1 .PHONY
: all clean run
test
4 2017mines
: mines.c mines.h schemes.h
5 gcc mines.c
-o
2017mines
14 echo
-e
'\033[7mTODOs:\033[0m'
15 grep
-ni
--color
=always
'xxx\|note\|warn\|todo\|[^:]\/\/' *.c
*.h
17 echo
-e
'\n\033[7m>80:\033[0m'
19 do sed
's/\t/ /g' < $$myFILE|grep
-En
--color
=always
'.{81}'|sed
"s/^/\x1B[35m$$myFILE:/"
22 echo
-e
'\n\033[7m-Wall:\033[0m'
23 gcc mines.c
-o
2017mines
-Wall
-Werror
-Wextra
-pedantic
-fdiagnostics-color
=always
27 bash
-c
"$$TESTS" 2>&1| less
--RAW-CONTROL-CHARS
--chop-long-lines