This commit is contained in:
Camille Chauvet
2022-09-27 17:25:41 +02:00
parent 1d0f0b1901
commit 8735f25286
5 changed files with 71 additions and 12 deletions

View File

@ -6,7 +6,7 @@
# By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/09/27 08:39:27 by cchauvet #+# #+# #
# Updated: 2022/09/27 16:08:49 by cchauvet ### ########.fr #
# Updated: 2022/09/27 17:11:15 by cchauvet ### ########.fr #
# #
# **************************************************************************** #
@ -28,13 +28,11 @@ SRCS = ft_isalpha.c \
ft_memchr.c \
ft_memcmp.c \
ft_strdup.c \
ft_calloc.c
COMMENT = ft_strlcpy.c \
ft_strlcat.c \
ft_strnstr.c \
ft_atoi.c \
ft_strdup.c
ft_memccpy.c \
ft_calloc.c \
ft_strlcpy.c
OBJS = ${SRCS:.c=.o}
@ -60,5 +58,5 @@ re:
ar rc ${NAME}.a ${OBJS}
so:
$(CC) -nostartfiles -fPIC $(CFLAGS) $(SRC)
gcc -nostartfiles -shared -o libft.so $(OBJ)
gcc -nostartfiles -fPIC $(CFLAG) $(SRCS)
gcc -nostartfiles -shared -o libft.so $(OBJS)