From 625255c8642cfb8557cb041e42d3fcda3548b145 Mon Sep 17 00:00:00 2001 From: Tanguy MAZE Date: Wed, 4 Apr 2018 17:19:39 +0200 Subject: [PATCH] Makefile: add libft.h as dependency of %.o --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3c2aa5b..67aec3e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: tmaze +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2018/04/04 10:51:59 by tmaze #+# #+# # -# Updated: 2018/04/04 17:07:09 by tmaze ### ########.fr # +# Updated: 2018/04/04 17:17:24 by tmaze ### ########.fr # # # #******************************************************************************# @@ -38,7 +38,7 @@ all: $(NAME) $(NAME): $(OBJS) ar rcs $(NAME) $(OBJS) -%.o: %.c +%.o: %.c libft.h $(CC) $(CCFLAGS) $(CCSTD) $(INCLS) -c $< -o $@ clean: