From 696273367ad96fae24c110fbbf0d0fcf894d5764 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Wed, 21 Sep 2022 09:27:33 +0200 Subject: [PATCH] 2019: update Makefile from day 4 --- 2019/day01/Makefile | 3 ++- 2019/day02/Makefile | 3 ++- 2019/day03/Makefile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/2019/day01/Makefile b/2019/day01/Makefile index 30423a2..7fd5a7c 100644 --- a/2019/day01/Makefile +++ b/2019/day01/Makefile @@ -41,7 +41,8 @@ CFLAGS += -DDEBUG_DEBUG # activate general debug (debug.c) CFLAGS += -DDEBUG_POOL # memory pools management VALGRIND := valgrind -VALGRINDFLAGS := -q -s --leak-check=full --show-leak-kinds=all --track-origins=yes +VALGRINDFLAGS := --leak-check=full --show-leak-kinds=all --track-origins=yes \ + --sigill-diagnostics=yes --quiet --show-error-list=yes TIME := \time -f "\ttime: %E real, %U user, %S sys\n\tcontext-switch:\t%c+%w, page-faults: %F+%R\n" diff --git a/2019/day02/Makefile b/2019/day02/Makefile index 30423a2..7fd5a7c 100644 --- a/2019/day02/Makefile +++ b/2019/day02/Makefile @@ -41,7 +41,8 @@ CFLAGS += -DDEBUG_DEBUG # activate general debug (debug.c) CFLAGS += -DDEBUG_POOL # memory pools management VALGRIND := valgrind -VALGRINDFLAGS := -q -s --leak-check=full --show-leak-kinds=all --track-origins=yes +VALGRINDFLAGS := --leak-check=full --show-leak-kinds=all --track-origins=yes \ + --sigill-diagnostics=yes --quiet --show-error-list=yes TIME := \time -f "\ttime: %E real, %U user, %S sys\n\tcontext-switch:\t%c+%w, page-faults: %F+%R\n" diff --git a/2019/day03/Makefile b/2019/day03/Makefile index 30423a2..7fd5a7c 100644 --- a/2019/day03/Makefile +++ b/2019/day03/Makefile @@ -41,7 +41,8 @@ CFLAGS += -DDEBUG_DEBUG # activate general debug (debug.c) CFLAGS += -DDEBUG_POOL # memory pools management VALGRIND := valgrind -VALGRINDFLAGS := -q -s --leak-check=full --show-leak-kinds=all --track-origins=yes +VALGRINDFLAGS := --leak-check=full --show-leak-kinds=all --track-origins=yes \ + --sigill-diagnostics=yes --quiet --show-error-list=yes TIME := \time -f "\ttime: %E real, %U user, %S sys\n\tcontext-switch:\t%c+%w, page-faults: %F+%R\n"