-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (27 loc) · 1.19 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: mg <mg@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/06/09 17:00:23 by mg #+# #+# #
# Updated: 2020/06/17 16:15:32 by mg ### ########.fr #
# #
# **************************************************************************** #
# Name of the library
NAME=libftprintf.a
SRCS=./libft/ft*.c ft*.c pf*.c
OBJECTS=ft*.o pf*.o
INCLUDES=./
all:$(NAME)
$(NAME):
@gcc -Wall -Wextra -Werror -I$(INCLUDES) -c $(SRCS)
@ar rc $(NAME) $(OBJECTS)
@ranlib $(NAME)
bonus: re
clean:
@/bin/rm -f $(OBJECTS)
fclean: clean
@/bin/rm -f $(NAME)
re: fclean all