Changed Makefile so that it doesn't update submodule every build. master
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 29 Sep 2023 11:30:34 +0000 (13:30 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 29 Sep 2023 11:30:34 +0000 (13:30 +0200)
Makefile

index 56bace01df01f4b7a50b149e66831b9a78d0d8e5..f2a40598a05a78cdf809a1854ad3dd768e6d2b00 100644 (file)
--- 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