Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. # **************************************************************************** #
  2. # #
  3. # ::: :::::::: #
  4. # Makefile :+: :+: :+: #
  5. # +:+ +:+ +:+ #
  6. # By: pcollio- <marvin@42.fr> +#+ +:+ +#+ #
  7. # +#+#+#+#+#+ +#+ #
  8. # Created: 2018/12/04 21:35:29 by pcollio- #+# #+# #
  9. # Updated: 2018/12/19 22:25:17 by pcollio- ### ########.fr #
  10. # #
  11. # **************************************************************************** #
  12.  
  13. NAME = libft.a
  14.  
  15. SRCS = ft_atoi.c\
  16. ft_bzero.c\
  17. ft_count_words.c\
  18. ft_joinfree.c\
  19. ft_freearr.c\
  20. ft_isalnum.c\
  21. ft_isalpha.c\
  22. ft_isascii.c\
  23. ft_isdigit.c\
  24. ft_isprint.c\
  25. ft_itoa.c\
  26. ft_lstadd.c\
  27. ft_lstdel.c\
  28. ft_lstdelone.c\
  29. ft_lstiter.c\
  30. ft_lstmap.c\
  31. ft_lstnew.c\
  32. ft_memalloc.c\
  33. ft_memccpy.c\
  34. ft_memchr.c\
  35. ft_memcmp.c\
  36. ft_memcpy.c\
  37. ft_memdel.c\
  38. ft_memmove.c\
  39. ft_memset.c\
  40. ft_putchar.c\
  41. ft_putchar_fd.c\
  42. ft_putendl.c\
  43. ft_putendl_fd.c\
  44. ft_putnbr.c\
  45. ft_putnbr_fd.c\
  46. ft_putstr.c\
  47. ft_putstr_fd.c\
  48. ft_strcat.c\
  49. ft_strchr.c\
  50. ft_strclr.c\
  51. ft_strcmp.c\
  52. ft_strcpy.c\
  53. ft_strdel.c\
  54. ft_strdup.c\
  55. ft_strequ.c\
  56. ft_striter.c\
  57. ft_striteri.c\
  58. ft_strjoin.c\
  59. ft_strlcat.c\
  60. ft_strlen.c\
  61. ft_strmap.c\
  62. ft_strmapi.c\
  63. ft_strncat.c\
  64. ft_strncmp.c\
  65. ft_strncpy.c\
  66. ft_strnequ.c\
  67. ft_strnew.c\
  68. ft_strnstr.c\
  69. ft_strrchr.c\
  70. ft_strsplit.c\
  71. ft_strstr.c\
  72. ft_strsub.c\
  73. ft_strtrim.c\
  74. ft_tolower.c\
  75. ft_toupper.c\
  76. ft_word_len.c\
  77. ft_strcspn.c
  78.  
  79. OUT = $(SRCS:.c=.o)
  80.  
  81. INCLUDES = libft.h
  82.  
  83. all: $(NAME)
  84.  
  85. $(NAME):
  86. gcc -Wall -Wextra -Werror -c $(SRCS) -I $(INCLUDES)
  87. ar rc $(NAME) $(OUT)
  88.  
  89. clean:
  90. rm -f $(OUT)
  91.  
  92. fclean: clean
  93. rm -f $(NAME)
  94.  
  95. re: fclean all
  96.  
  97. .PHONY: all clean fclean re
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement