-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (27 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
36
37
38
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: lburkins <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/28 15:28:50 by lburkins #+# #+# #
# Updated: 2023/11/30 14:39:26 by lburkins ### ########.fr #
# #
# **************************************************************************** #
NAME = libftprintf.a
CFILES = ft_printf.c \
ft_printf_print_csp.c \
ft_printf_print_diux.c
OFILES = $(CFILES:.c=.o)
CFLAGS = -Wall -Wextra -Werror
CC = cc
all: $(NAME)
$(NAME): $(OFILES)
ar rcs $(NAME) $(OFILES)
clean:
rm -f $(OFILES)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re