-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (25 loc) · 1.09 KB
/
Makefile
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
31
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: fokrober <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/04/23 15:30:34 by fokrober #+# #+# #
# Updated: 2019/04/23 15:43:43 by fokrober ### ########.fr #
# #
# **************************************************************************** #
NAME = libft.a
SRC = ft_*.c
OBJ = ft_*.o
FLAG = -Wall -Wextra -Werror
all: $(NAME)
$(NAME):
@gcc $(FLAG) -c $(SRC)
@ar rc $(NAME) $(OBJ)
@ranlib $(NAME)
clean:
@rm -f $(OBJ)
fclean: clean
@rm -f $(NAME)
re: fclean all