Makefile: make bonus rule phony

This commit is contained in:
Khaïs COLIN 2024-10-22 11:36:47 +02:00
parent d9808a974a
commit 1d5123bd4a

View file

@ -6,7 +6,7 @@
# By: kcolin <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/14 13:43:59 by kcolin #+# #+# #
# Updated: 2024/10/21 17:35:23 by kcolin ### ########.fr #
# Updated: 2024/10/22 11:36:39 by kcolin ### ########.fr #
# #
# **************************************************************************** #
@ -64,6 +64,7 @@ all: $(NAME)
$(NAME): $(OBJECTS)
ar rcs libft.a $(OBJECTS)
.PHONY: bonus
bonus: $(OBJECTS) $(BONUS_OBJECTS)
ar rcs libft.a $(OBJECTS) $(BONUS_OBJECTS)