-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 1.22 KB
/
Makefile
File metadata and controls
33 lines (26 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: tgoel <tgoel@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/04/03 16:45:56 by tgoel #+# #+# #
# Updated: 2024/10/06 17:48:22 by trgoel ### ########.fr #
# #
# **************************************************************************** #
SRCS = ft_printf.c ft_puthex_fd.c ft_putchar_fd.c ft_puthex_fd.c ft_putnbr_fd.c ft_putstr_fd.c
NAME = libftprintf.a
CfLAGS = -Wall -Wextra -Werror
CC = cc
OBJS = ${SRCS:.c=.o}
RM = rm -f
$(NAME): $(OBJS)
ar rcs $(NAME) $(OBJS)
all: ${NAME}
clean:
${RM} ${OBJS}
fclean: clean
${RM} ${NAME}
re: fclean all
.PHONY: re clean fclean all