-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (31 loc) · 1.22 KB
/
Makefile
File metadata and controls
44 lines (31 loc) · 1.22 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: erigolon <erigolon@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/01/04 10:19:03 by erigolon #+# #+# #
# Updated: 2023/04/26 12:20:10 by erigolon ### ########.fr #
# #
# **************************************************************************** #
NAME = libftprintf.a
LIB = ar rcs
SRC = ft_printf.c \
ft_printf_utils.c \
ft_check_percentage.c \
ft_itoa_u.c \
ft_hex.c \
OBJ = ${SRC:.c=.o}
RM = rm -f
CC = GCC
CFLAGS = -Wall -Wextra -Werror
all: $(NAME)
$(NAME): $(OBJ)
$(LIB) $(NAME) $(OBJ)
clean:
$(RM) $(OBJ)
fclean: clean
$(RM) $(NAME)
re: fclean all
.PHONY: all clean fclean re