-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 1.12 KB
/
Makefile
File metadata and controls
30 lines (24 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: atimoshe <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/23 20:19:51 by atimoshe #+# #+# #
# Updated: 2020/02/23 21:46:00 by atimoshe ### ########.fr #
# #
# **************************************************************************** #
FLAG = -Wall -Wextra -Werror -I./
NAME = libft.a
SRC = ft_memset.c ft_bzero.c ft_memcpy.c
all: $(NAME)
$(NAME):
gcc $(FLAGS) -c $(SRC)
ar rcs $(NAME) $(OBJ)
ranlib $(NAME)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all