Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # **************************************************************************** #
- # #
- # ::: :::::::: #
- # Makefile :+: :+: :+: #
- # +:+ +:+ +:+ #
- # By: mae <mae@student.42.fr> +#+ +:+ +#+ #
- # +#+#+#+#+#+ +#+ #
- # Created: 2018/11/20 17:52:35 by mae #+# #+# #
- # Updated: 2019/03/17 01:21:46 by mae ### ########.fr #
- # #
- # **************************************************************************** #
- NAME = libft.a
- SRC = ft_abs.c \
- ft_baselen.c \
- ft_strdup.c \
- ft_strcat.c \
- ft_strcpy.c \
- ft_strncat.c \
- ft_strncpy.c \
- ft_strcmp.c \
- ft_strlen.c \
- ft_strncmp.c \
- ft_strlcat.c \
- ft_atoi.c \
- ft_atoll.c \
- ft_floatmod.c \
- ft_memmove.c \
- ft_memcpy.c \
- ft_memset.c \
- ft_bzero.c \
- ft_memchr.c \
- ft_strchr.c\
- ft_putendl.c \
- ft_putchar.c \
- ft_putstr.c \
- ft_putchar_fd.c \
- ft_putendl_fd.c \
- ft_putnbr.c \
- ft_putnbr_fd.c \
- ft_putnbr_base.c \
- ft_putunbr_base.c \
- ft_putstr_fd.c \
- ft_putnbr_long.c \
- ft_putunbr_long.c \
- ft_memalloc.c \
- ft_strnew.c \
- ft_memccpy.c \
- ft_memcmp.c \
- ft_strrchr.c \
- ft_memdel.c \
- ft_strdel.c \
- ft_strclr.c \
- ft_striter.c \
- ft_striteri.c \
- ft_strmap.c \
- ft_strmapi.c \
- ft_strequ.c \
- ft_strnequ.c \
- ft_strstr.c \
- ft_strnstr.c \
- ft_strsub.c \
- ft_strjoin.c \
- ft_isalpha.c \
- ft_isdigit.c \
- ft_isalnum.c \
- ft_isascii.c \
- ft_isprint.c \
- ft_toupper.c \
- ft_tolower.c \
- ft_strtrim.c \
- ft_strsplit.c \
- ft_itoa.c \
- ft_itoa_base.c \
- ft_itoc.c \
- ft_lltoa.c \
- ft_lstnew.c \
- ft_lstdelone.c \
- ft_lstdel.c \
- ft_lstadd.c \
- ft_lstiter.c \
- ft_lstmap.c \
- ft_intlen.c \
- ft_octlen.c \
- ft_hexlen.c \
- ft_uintlen.c \
- rounder.c
- FLAGS = -Wall -Werror -Wextra
- all: $(NAME)
- OBJ = $(SRC:.c=.o)
- $(NAME):
- @gcc -c $(FLAGS) $(SRC)
- @ar -rcs $(NAME) $(OBJ)
- clean :
- @rm -rf $(OBJ)
- fclean : clean
- @/bin/rm -f $(NAME)
- re : fclean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement