From 9b6a11d9171af0304ba90a2c5add198f7c821b54 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Mon, 17 Feb 2020 17:46:45 +0100 Subject: Makefile update --- Makefile | 6 +++--- libft/Makefile | 6 +++--- 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 -------------------------------------# -- cgit v1.2.3