From 5d21ca6f7177a2df8b10eccb11d4d9c62bcdbf1c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sat, 22 Feb 2020 18:59:26 +0100 Subject: Best Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3