d
This commit is contained in:
14
Makefile
14
Makefile
@ -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)
|
||||
|
Reference in New Issue
Block a user