aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files 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)