]> git.dkaiser.de - 42/minishell.git/commitdiff
added strncpy in make and removed -g out of main makefile
authorChristopher Uhlig <chuhlig@2-D-4.42heilbronn.de>
Mon, 5 Aug 2024 11:53:50 +0000 (13:53 +0200)
committerChristopher Uhlig <chuhlig@2-D-4.42heilbronn.de>
Mon, 5 Aug 2024 11:53:50 +0000 (13:53 +0200)
Makefile
lib/libft/Makefile

index 1eaae01f866f8001bcf6b372b4986ded43b3a051..4ac27f7787c0ea9be602db0969903c5d4e51346d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 NAME    := minishell
 
 CC      =  cc
-CFLAGS  =  -Wall -Wextra -Werror -g
+CFLAGS  =  -Wall -Wextra -Werror
 LIB_DIR = lib
 LIBS    =  -L $(LIB_DIR)/libft -lft -lreadline
 HEADERS =  -I include -I $(LIB_DIR)/libft
index 3c2fb9190bde9d9f8d6006cfa49e8412343176ac..6951c4311fc10b4907d10d400e1a5fe0522fb149 100644 (file)
@@ -30,6 +30,7 @@ SRC =         ft_atoi.c \
                        ft_strlen.c \
                        ft_strmapi.c \
                        ft_strncmp.c \
+                       ft_strncpy.c \
                        ft_strnstr.c \
                        ft_strrchr.c \
                        ft_strtrim.c \