diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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) |