-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (25 loc) · 1.16 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: acuva-nu <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/10/29 10:45:20 by acuva-nu #+# #+# #
# Updated: 2022/12/01 17:30:06 by acuva-nu ### ########.fr #
# #
# **************************************************************************** #
SRCS = ft_printf.c ft_csdiu.c ft_hex.c
OBJS = $(SRCS:.c=.o)
CC = gcc
CFLAGS = -Wall -Wextra -Werror
NAME = libftprintf.a
$(NAME): $(OBJS)
ar rcs $(NAME) $(OBJS)
all: $(NAME)
clean:
rm -f $(OBJS) $(OBJSB)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re