From 7c5969d03443969c103bed445e3a09a9a8206f18 Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 30 Apr 2018 04:42:03 +0200 Subject: [PATCH] add mines.h as dependency --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6532612..9e6b34e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean run test all: 2017mines -2017mines: mines.c schemes.h +2017mines: mines.c mines.h schemes.h gcc mines.c -o 2017mines run: 2017mines @@ -12,10 +12,10 @@ clean: define TESTS echo -e '\033[7mTODOs:\033[0m' - grep -ni --color=always 'xxx\|note\|warn\|todo\|[^:]\/\/' mines.c schemes.h + grep -ni --color=always 'xxx\|note\|warn\|todo\|[^:]\/\/' *.c *.h echo -e '\n\033[7m>80:\033[0m' - for myFILE in mines.c mines.h schemes.h + for myFILE in *.c *.h do sed 's/\t/ /g' < $$myFILE|grep -En --color=always '.{81}'|sed "s/^/\x1B[35m$$myFILE:/" done -- 2.39.3