From 8adeef1b50a3a819cf6525af94f1fbce62465a7e Mon Sep 17 00:00:00 2001 From: Cabergs Charles Date: Mon, 7 Oct 2019 16:33:51 +0200 Subject: Added calloc and strlcpy, rename out of date --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9013acc..f4f9f13 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ SRC = ft_atoi.c ft_bzero.c ft_isalnum.c ft_isalpha.c ft_isascii.c ft_isdigit.c f ft_strclr.c ft_strcmp.c ft_strcpy.c ft_strdel.c ft_strdup.c ft_strequ.c ft_striter.c \ ft_striteri.c ft_strjoin.c ft_strlcat.c ft_strlen.c ft_strmap.c ft_strmapi.c \ ft_strncat.c ft_strncmp.c ft_strncpy.c ft_strnequ.c ft_strnew.c ft_strnstr.c \ - ft_strrchr.c ft_strsplit.c ft_strstr.c ft_strsub.c ft_strtrim.c ft_tolower.c \ - ft_toupper.c + ft_strrchr.c ft_split.c ft_strstr.c ft_substr.c ft_strtrim.c ft_tolower.c \ + ft_toupper.c ft_strlcpy.c ft_calloc.c OBJ = $(SRC:.c=.o) all: $(NAME) @@ -19,7 +19,7 @@ $(NAME): $(OBJ) libft.h ar rc $(NAME) $(OBJ) %.o: %.c - $(CC) $(CCFLAGS) -fPIC -c -o $@ $< # /!\ fPIC + $(CC) $(CCFLAGS) -c -o $@ $< clean: rm -f $(OBJ) -- cgit