save commit
This commit is contained in:
8
Makefile
8
Makefile
@@ -6,7 +6,7 @@
|
||||
# By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/07/30 20:22:21 by sede-san #+# #+# #
|
||||
# Updated: 2025/12/01 14:05:56 by sede-san ### ########.fr #
|
||||
# Updated: 2026/02/05 21:06:52 by sede-san ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@@ -21,11 +21,11 @@ CFLAGS = -Wall -Wextra -Werror
|
||||
HEADERS = -I $(INCLUDE_PATH) $(LIBS_INCLUDE)
|
||||
|
||||
ifeq ($(DEBUG), lldb) # debug with LLDB
|
||||
CFLAGS += -g3
|
||||
CFLAGS = -g3
|
||||
else ifeq ($(DEBUG), valgrind) # debug with valgrind
|
||||
CFLAGS += -g3
|
||||
CFLAGS = -g3
|
||||
else ifeq ($(DEBUG), address) # use AdressSanitize
|
||||
CFLAGS += -fsanitize=address -g3
|
||||
CFLAGS = -fsanitize=address -g3
|
||||
else # apply optimization flags if no debugging is being done
|
||||
CFLAGS += -O3
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user