aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile8
-rw-r--r--libft/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index e033bb6..dd8d982 100644
--- a/Makefile
+++ b/Makefile
@@ -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
#------------------------------------------------------------------------------#