42_ft_printf/Makefile
Camille Chauvet 780ac9ced3 init
2022-10-07 02:30:03 +02:00

37 lines
1.2 KiB
Makefile

# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/09/27 08:39:27 by cchauvet #+# #+# #
# Updated: 2022/10/06 16:37:11 by cchauvet ### ########.fr #
# #
# **************************************************************************** #
SRCS =
OBJS = ${SRCS:.c=.o}
NAME = libftprintf
CFLAG = -Wall -Werror -Wextra
%.o: %.c libftprintf.h
${CC} ${CFLAGS} -c -o $@ $<
all: ${NAME}
${NAME}: ${OBJS}
ar -rc ${NAME}.a ${OBJS}
clean:
rm -f ${OBJS} ${BOBJS}
fclean: clean
rm -f ${NAME}.a
re: fclean all
.PHONY: bonus extra clean fclean re