aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:46:45 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:46:45 +0100
commit9b6a11d9171af0304ba90a2c5add198f7c821b54 (patch)
tree4355a87d9c80749a833023c55cafd08b32196aaf
parentnorminette (diff)
download42-cub3d-9b6a11d9171af0304ba90a2c5add198f7c821b54.tar.gz
42-cub3d-9b6a11d9171af0304ba90a2c5add198f7c821b54.tar.bz2
42-cub3d-9b6a11d9171af0304ba90a2c5add198f7c821b54.tar.xz
42-cub3d-9b6a11d9171af0304ba90a2c5add198f7c821b54.tar.zst
42-cub3d-9b6a11d9171af0304ba90a2c5add198f7c821b54.zip
Makefile update
Diffstat (limited to '')
-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 -------------------------------------#