From 44f49e00f6362c559ee575cc96bb46ffe56bf08c Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Mon, 29 Apr 2024 16:26:37 +0200 Subject: [PATCH] Remove bonus rule to keep libft from relinking --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7bab267..4cddb3c 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ BONUS_OBJ = $(BONUS_SRC:.c=.o) all: $(NAME) -$(NAME): $(OBJ_FILES) - ar rcs $(NAME) $(OBJ_FILES) +$(NAME): $(OBJ_FILES) $(BONUS_OBJ) + ar rcs $(NAME) $(OBJ_FILES) $(BONUS_OBJ) clean: rm -f $(OBJ_FILES) $(BONUS_OBJ) @@ -71,5 +71,4 @@ fclean: clean re: fclean all -bonus: $(BONUS_OBJ) - ar rcs $(NAME) $(BONUS_OBJ) +.PHONY: all clean fclean re -- 2.47.2