From 37dc7a19c7b4b2734c7a4ccf9407ca715a660866 Mon Sep 17 00:00:00 2001 From: Alphacharge Date: Fri, 24 Feb 2023 10:45:15 +0100 Subject: [PATCH] changed dep from folder and files --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6923409..b3a95bf 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: rbetz +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2022/03/25 14:21:20 by rbetz #+# #+# # -# Updated: 2023/02/22 13:31:09 by rbetz ### ########.fr # +# Updated: 2023/02/24 10:44:28 by rbetz ### ########.fr # # # # **************************************************************************** # @@ -46,10 +46,10 @@ BLUE = \033[1;34m WHITE = \033[0m ### ### RULES ### ### -all: $(NAME) +all: $(OBJ_D) $(NAME) -$(NAME): $(OBJ_D) $(SRCOBJ) - @ar -rcs $(NAME) $@ +$(NAME): $(SRCOBJ) + @ar -rcs $(NAME) $^ @echo "$(RED)--->$(BLUE)Libft is compiled.$(WHITE)" $(OBJ_D)/%.o: %.c message