-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (25 loc) · 1.21 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: eschirni <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/07/22 14:05:23 by eschirni #+# #+# #
# Updated: 2021/08/24 16:41:05 by eschirni ### ########.fr #
# #
# **************************************************************************** #
NAME = "libftprintf.a"
FILES = ft_hexitoa.c ft_printf.c ft_uitoa.c
OBJECTS = ft_hexitoa.o ft_printf.o ft_uitoa.o
all:
@gcc -c -Wall -Wextra -Werror $(FILES)
@cd libft && make all
@ar rcs $(NAME) $(OBJECTS) libft/*.o
clean:
@rm -f $(OBJECTS)
@cd libft && make clean
fclean: clean
@rm -f $(NAME)
@cd libft && make fclean
re: fclean all