From 6790f1c03c0f98c645ebc714e1228321e3ef8928 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 17 Mar 2025 14:05:52 +0100 Subject: [PATCH] build: adding the debug flag to cxx --- cpp05/ex00/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp05/ex00/Makefile b/cpp05/ex00/Makefile index f5310c1..e9cced9 100644 --- a/cpp05/ex00/Makefile +++ b/cpp05/ex00/Makefile @@ -21,10 +21,11 @@ RM = rm -rf # Flags # Mandatory flags for 42 CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/ -# Flags to debug and have the dependences (can be removed for correction) +# Flags to have the dependences (can be removed for correction) CXXFLAGS += -MMD - +# Flags to have the debug (can be removed for correction) DEBUG += -g3 -fsanitize=address +CXXFLAGS += $(DEBUG) # Sources SRC = Bureaucrat.cpp \