From 0e6ae2cac2cef86051e80c613fad5edb4bbc976b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Mar 2020 17:31:09 +0100 Subject: Better Makefiles --- libft/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libft') diff --git a/libft/Makefile b/libft/Makefile index 502c38a..0c61d4d 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -118,7 +118,11 @@ OS = $(shell uname) #==============================================================================# #-------------------------------- Compiler ------------------------------------# #==============================================================================# -DEBUG = -glldb +ifeq (${OS}, Darwin) + DEBUG = -glldb +else + DEBUG = -ggdb +endif FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# ifeq (${OS}, Darwin) -- cgit v1.2.3