-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (27 loc) · 1.17 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
39
40
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: mbertin <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/03/31 13:53:50 by mbertin #+# #+# #
# Updated: 2022/06/10 09:13:07 by mbertin ### ########.fr #
# #
# **************************************************************************** #
SRCS = ft_printf.c ft_printf_ext.c \
OBJS = ${SRCS:%c=%o}
NAME = libftprintf.a
AR = ar rcs
CC = gcc
RM = rm -f
CFLAGS = -Wall -Werror -Wextra
all: ${NAME}
${NAME}: ${OBJS}
${AR} ${NAME} ${OBJS}
clean:
${RM} ${OBJS}
fclean: clean
${RM} ${NAME}
re: fclean all
.PHONY: all clean fclean re