From 611083d3401beb508596cf0dabd1a8d56644f1d6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Mar 2020 17:39:03 +0100 Subject: Makefiles fix --- Makefile | 8 ++++---- libft/Makefile | 8 ++++---- 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 #------------------------------------------------------------------------------# -- cgit v1.2.3