-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (25 loc) · 1.19 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
32
33
34
35
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: gudaniel <gudaniel@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/05/17 10:10:40 by gudaniel #+# #+# #
# Updated: 2024/05/27 10:44:31 by gudaniel ### ########.fr #
# #
# **************************************************************************** #
NAME = libftprintf.a
SRC = get_next_line.c get_next_line_utils.c
OBJS = $(SRC:.c=.o)
COMPILER = cc
FLAGS = -Wall -Werror -Wextra
all: $(NAME)
$(NAME):
$(COMPILER) $(FLAGS) -c $(SRC)
ar rcs $(NAME) $(OBJS)
re: fclean $(NAME)
clean:
rm -f $(OBJS)
fclean: clean
rm -f $(NAME)