-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (24 loc) · 1.2 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: atabiti <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/11/24 09:26:24 by atabiti #+# #+# #
# Updated: 2021/12/07 09:25:26 by atabiti ### ########.fr #
# #
# **************************************************************************** #
NAME = libftprintf.a
CC = gcc
CFLAGS = -Wall -Wextra -Werror
SRC = f1.c ft_putchar_fd.c ft_putnbr_fd.c ft_strlen.c hexadecimal.c manynbr.c type.c ft_putnbr2.c ft_putstr_fd.c ft_printf.c hexconverter.c\
OBJ = $(SRC:.c=.o)
all: $(NAME)
$(NAME): $(OBJ)
ar rc $@ $^
clean :
rm -f *.o
fclean : clean
rm -rf $(NAME)
re : fclean all