build: adding the debug flag to cxx

This commit is contained in:
Raphael 2025-03-17 14:05:52 +01:00
parent d522f89c00
commit 6790f1c03c

View file

@ -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 \