From: Lukas Jiriste Date: Fri, 29 Sep 2023 11:30:34 +0000 (+0200) Subject: Changed Makefile so that it doesn't update submodule every build. X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=42%2Fft_printf.git Changed Makefile so that it doesn't update submodule every build. --- 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