This commit is contained in:
Camille Chauvet
2022-10-23 19:01:50 +02:00
parent 593de9941a
commit 31feb3fe3c
26 changed files with 254 additions and 378 deletions

View File

@ -6,29 +6,30 @@
# By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/09/27 08:39:27 by cchauvet #+# #+# #
# Updated: 2022/10/10 14:34:40 by cchauvet ### ########.fr #
# Updated: 2022/10/23 19:00:59 by cchauvet ### ########.fr #
# #
# **************************************************************************** #
SRCS = ft_ctoa.c \
ft_itoa.c \
ft_ltoabase.c \
SRCS = ft_dprintarg.c \
ft_dprintf.c \
ft_dprintflag.c \
ft_dprintl_base.c \
ft_dprintx.c \
ft_dprintX.c \
ft_dprintptr.c \
ft_dprintul_base.c \
ft_dprintul.c \
ft_isarg.c \
ft_isdigit.c \
ft_printf.c \
ft_ptoa.c \
ft_putchar_fd.c \
ft_putendl_fd.c \
ft_putstr_fd.c \
ft_strchr.c \
ft_strdup.c \
ft_strjoin.c \
ft_skipflag.c \
ft_strlen.c \
ft_ultoabase.c \
ft_vdprintf.c \
ft_vprintf.c \
ft_vsprintf.c
ft_vdprintf.c
OBJS = ${SRCS:.c=.o}
NAME = libftprintf
NAME = libftprintf.a
CFLAG = -Wall -Werror -Wextra
@ -38,13 +39,13 @@ CFLAG = -Wall -Werror -Wextra
all: ${NAME}
${NAME}: ${OBJS}
ar -rc ${NAME}.a ${OBJS}
ar -rc ${NAME} ${OBJS}
clean:
rm -f ${OBJS} ${BOBJS}
fclean: clean
rm -f ${NAME}.a
rm -f ${NAME}
re: fclean all