diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-21 19:34:42 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-21 19:34:42 +0100 |
commit | cc757d943744869bc7191bd8e1d2deb9174ac4db (patch) | |
tree | 3d063abd5dd898a5dabbe3d80c8614c99da8674e /Makefile | |
parent | Freed leaks (diff) | |
download | 42-cub3d-cc757d943744869bc7191bd8e1d2deb9174ac4db.tar.gz 42-cub3d-cc757d943744869bc7191bd8e1d2deb9174ac4db.tar.bz2 42-cub3d-cc757d943744869bc7191bd8e1d2deb9174ac4db.tar.xz 42-cub3d-cc757d943744869bc7191bd8e1d2deb9174ac4db.tar.zst 42-cub3d-cc757d943744869bc7191bd8e1d2deb9174ac4db.zip |
Makefile update
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) |