-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 1.06 KB
/
Makefile
File metadata and controls
30 lines (23 loc) · 1.06 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: ibohonos <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/10/24 16:55:15 by ibohonos #+# #+# #
# Updated: 2017/10/24 16:55:19 by ibohonos ### ########.fr #
# #
# **************************************************************************** #
NAME = libft.a
SRC = *.c
all: $(NAME)
$(NAME):
gcc -Wall -Wextra -Werror -c $(SRC)
ar rc $(NAME) *.o
ranlib $(NAME)
clean:
/bin/rm -f *.o
fclean: clean
/bin/rm -f $(NAME)
re: fclean all