aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:39:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:39:03 +0100
commit611083d3401beb508596cf0dabd1a8d56644f1d6 (patch)
treea38479ec80da919ba8e6291939ad924da8865fb0 /libft
parentEven better Makefiles (diff)
download42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.gz
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.bz2
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.xz
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.zst
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.zip
Makefiles fix
Diffstat (limited to 'libft')
-rw-r--r--libft/Makefile8
1 files changed, 4 insertions, 4 deletions
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
#------------------------------------------------------------------------------#