aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 18:59:26 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 18:59:26 +0100
commit5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c (patch)
tree096f93b25937821cdfb3e1703c4ed611e4c207c5 /Makefile
parentBetter makefile (diff)
download42-cub3d-5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c.tar.gz
42-cub3d-5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c.tar.bz2
42-cub3d-5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c.tar.xz
42-cub3d-5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c.tar.zst
42-cub3d-5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c.zip
Best Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60d2818..e7b037a 100644
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ else
${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $<
endif
#--------------------------------------------------------------------------------------------------#
-${NAME}: ${OBJS} ${LFT_SRCS}
+${NAME}: ${OBJS} ${LFT_SRCS} ${LFT_DIR}${INCS_DIR}libft.h
ifeq (${OS}, Darwin)
${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm -framework OpenGL \
-framework AppKit