From cc757d943744869bc7191bd8e1d2deb9174ac4db Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 21 Feb 2020 19:34:42 +0100 Subject: Makefile update --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d7bcdea..69fd854 100644 --- a/Makefile +++ b/Makefile @@ -130,16 +130,19 @@ else ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd endif #--------------------------------------------------------------------------------------------------# -all: -ifeq (${OS}, Darwin) - @$(MAKE) --no-print-directory -C ${MLX_DIR} all -endif +lft: ifdef ASAN @$(MAKE) --no-print-directory -C ${LFT_DIR} all ASAN=1 else @$(MAKE) --no-print-directory -C ${LFT_DIR} all endif - @$(MAKE) ${NAME} +#--------------------------------------------------------------------------------------------------# +mlx: +ifeq (${OS}, Darwin) + @$(MAKE) --no-print-directory -C ${MLX_DIR} all +endif +#--------------------------------------------------------------------------------------------------# +all: mlx lft ${NAME} #--------------------------------------------------------------------------------------------------# clean: ifeq (${OS}, Darwin) -- cgit v1.2.3