This commit is contained in:
Camille Chauvet 2022-11-07 19:47:30 +01:00
parent 31feb3fe3c
commit 46c8ec6c2f
2 changed files with 4 additions and 6 deletions

View File

@ -6,7 +6,7 @@
# By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ # # By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2022/09/27 08:39:27 by cchauvet #+# #+# # # Created: 2022/09/27 08:39:27 by cchauvet #+# #+# #
# Updated: 2022/10/23 19:00:59 by cchauvet ### ########.fr # # Updated: 2022/11/07 19:43:10 by cchauvet ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
SRCS = ft_dprintarg.c \ SRCS = ft_dprintarg.c \
@ -33,7 +33,7 @@ NAME = libftprintf.a
CFLAG = -Wall -Werror -Wextra CFLAG = -Wall -Werror -Wextra
%.o: %.c libftprintf.h %.o: %.c
${CC} ${CFLAGS} -c -o $@ $< ${CC} ${CFLAGS} -c -o $@ $<
all: ${NAME} all: ${NAME}
@ -49,4 +49,4 @@ fclean: clean
re: fclean all re: fclean all
.PHONY: bonus extra clean fclean re .PHONY: all clean fclean re

View File

@ -6,16 +6,14 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */ /* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/26 14:47:54 by cchauvet #+# #+# */ /* Created: 2022/09/26 14:47:54 by cchauvet #+# #+# */
/* Updated: 2022/10/23 19:00:30 by cchauvet ### ########.fr */ /* Updated: 2022/11/07 19:41:50 by cchauvet ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#ifndef FT_PRINTF_H #ifndef FT_PRINTF_H
# define FT_PRINTF_H # define FT_PRINTF_H
# include <stdlib.h>
# include <unistd.h> # include <unistd.h>
# include <stdarg.h> # include <stdarg.h>
# include <limits.h>
size_t ft_strlen(const char *s); size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c); char *ft_strchr(const char *s, int c);