added run_valgrind target

This commit is contained in:
whaffman 2025-02-28 15:27:36 +01:00
parent 0e72632168
commit a29defbc65

View File

@ -6,7 +6,7 @@
# By: qmennen <qmennen@student.codam.nl> +#+ #
# +#+ #
# 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))