aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--libft/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7c86a54..9664724 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,9 @@ endif
#==================================================================================================#
#------------------------------------------ Compiler ----------------------------------------------#
#==================================================================================================#
+DEBUG = -glldb
+FSANITIZE = -fsanitize=address
+#--------------------------------------------------------------------------------------------------#
CC = clang
#--------------------------------------------------------------------------------------------------#
CFLAGS = -std=c89
@@ -99,9 +102,6 @@ ifneq (${OS}, Darwin)
CDEFS += -DFT_ESC_KEY=65307
endif
#--------------------------------------------------------------------------------------------------#
-DEBUG = -glldb
-FSANITIZE = -fsanitize=address
-#--------------------------------------------------------------------------------------------------#
ifeq (${OS}, Darwin)
NAME = cub3d
else
diff --git a/libft/Makefile b/libft/Makefile
index 38b33d5..aef5f5d 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -111,6 +111,9 @@ OBJS = $(patsubst ${SRCS_DIR}%.c,${OBJS_DIR}%.o,${SRCS})
#==============================================================================#
#-------------------------------- Compiler ------------------------------------#
#==============================================================================#
+DEBUG = -glldb
+FSANITIZE = -fsanitize=address
+#------------------------------------------------------------------------------#
CC = clang
CFLAGS = -std=c89
CFLAGS += -Wall
@@ -122,9 +125,6 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#------------------------------------------------------------------------------#
-DEBUG = -glldb
-FSANITIZE = -fsanitize=address
-#------------------------------------------------------------------------------#
NAME = libft.a
#==============================================================================#
#-------------------------------- Library -------------------------------------#