diff options
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | libft/Makefile | 12 |
2 files changed, 4 insertions, 20 deletions
@@ -114,18 +114,10 @@ endif #==================================================================================================# #------------------------------------------ Compiler ----------------------------------------------# #==================================================================================================# -ifeq (${OS}, Darwin) - DEBUG = -glldb -else - DEBUG = -ggdb -endif +DEBUG = -glldb FSANITIZE = -fsanitize=address #--------------------------------------------------------------------------------------------------# -ifeq (${OS}, Darwin) - CC = clang -else - CC = gcc -endif +CC = clang #--------------------------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall diff --git a/libft/Makefile b/libft/Makefile index 1f93f13..d2053ee 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -119,18 +119,10 @@ USER = $(shell w | grep tty7 | awk '{print $$1}') #==============================================================================# #-------------------------------- Compiler ------------------------------------# #==============================================================================# -ifeq (${OS}, Darwin) - DEBUG = -glldb -else - DEBUG = -ggdb -endif +DEBUG = -glldb FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# -ifeq (${OS}, Darwin) - CC = clang -else - CC = gcc -endif +CC = clang #------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall |