diff options
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | libft/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -120,9 +120,9 @@ endif #------------------------------------------ Compiler ----------------------------------------------# #==================================================================================================# ifeq (${OS}, Darwin) - DEBUG = -glldb + DBG = -glldb else - DEBUG = -ggdb + DBG = -ggdb endif FSANITIZE = -fsanitize=address #--------------------------------------------------------------------------------------------------# @@ -139,11 +139,11 @@ CFLAGS += -Werror CFLAGS += -pedantic #--------------------------------------------------------------------------------------------------# ifdef DEBUG - CFLAGS += ${DEBUG} + CFLAGS += ${DBG} endif #--------------------------------------------------------------------------------------------------# ifdef ASAN - CFLAGS += ${DEBUG} + CFLAGS += ${DBG} CFLAGS += ${FSANITIZE} endif #--------------------------------------------------------------------------------------------------# diff --git a/libft/Makefile b/libft/Makefile index 1d77a29..3073304 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -119,9 +119,9 @@ OS = $(shell uname) #-------------------------------- Compiler ------------------------------------# #==============================================================================# ifeq (${OS}, Darwin) - DEBUG = -glldb + DBG = -glldb else - DEBUG = -ggdb + DBG = -ggdb endif FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# @@ -137,11 +137,11 @@ CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic ifdef DEBUG - CFLAGS += ${DEBUG} + CFLAGS += ${DBG} endif #------------------------------------------------------------------------------# ifdef ASAN - CFLAGS += ${DEBUG} + CFLAGS += ${DBG} CFLAGS += ${FSANITIZE} endif #------------------------------------------------------------------------------# |