-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 1.18 KB
/
Makefile
File metadata and controls
33 lines (25 loc) · 1.18 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: wel-safa <wel-safa@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/05/10 10:42:56 by wel-safa #+# #+# #
# Updated: 2023/07/03 17:08:37 by wel-safa ### ########.fr #
# #
# **************************************************************************** #
NAME := libftprintf.a
SRC := ft_printf.c ft_printf_base.c ft_printf_putnbr.c
OBJS := ${SRC:.c=.o}
CFLAGS := -Wall -Werror -Wextra -g
all: $(NAME)
$(NAME): $(OBJS) ft_printf.h
ar rcs $(NAME) $(OBJS)
ranlib $(NAME)
clean:
$(RM) -f $(OBJS)
fclean: clean
rm -rf $(NAME)
re: fclean all
.PHONY: clean fclean all re