From a29defbc651210ce4dc949bbcd4239861ff51753 Mon Sep 17 00:00:00 2001 From: whaffman Date: Fri, 28 Feb 2025 15:27:36 +0100 Subject: [PATCH] added run_valgrind target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ce18d4..c4f9aa3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: qmennen +#+ # # +#+ # # Created: 2024/10/15 11:48:46 by whaffman #+# #+# # -# Updated: 2025/02/28 01:38:14 by whaffman ######## odam.nl # +# Updated: 2025/02/28 14:51:38 by whaffman ######## odam.nl # # # # **************************************************************************** # @@ -118,6 +118,9 @@ re: fclean # Run the project with the release build configuration run: run_release +run_valgrind: release + valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --suppressions=readline.supp ./$(BUILD_PATH)/release/$(NAME) + # Remove sources.mk to force regeneration srcs: $(info $(bold)$(green)Regenerating sources.mk on next make$(reset))