From 518d955a0528c95ab6ae4dfac73e20d61f4d46d3 Mon Sep 17 00:00:00 2001 From: Lukas Jiriste Date: Fri, 29 Sep 2023 13:30:34 +0200 Subject: [PATCH] Changed Makefile so that it doesn't update submodule every build. --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 56bace0..f2a4059 100644 --- a/Makefile +++ b/Makefile @@ -28,16 +28,15 @@ clean : $(RM) $(OBJECTS) $(MAKE) -C ./Libft clean -fclean : clean +fclean : + $(RM) $(OBJECTS) $(RM) $(NAME) $(MAKE) -C ./Libft fclean re : fclean $(MAKE) all -Libft/libft.h : Libft - -Libft : +Libft/libft.h : git submodule update --init Libft git -C ./Libft checkout no_crash -- 2.30.2