-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 1.16 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: akdemir <[email protected] +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/07/15 21:38:36 by akdemir #+# #+# #
# Updated: 2023/07/21 15:30:55 by akdemir ### ########.fr #
# #
# **************************************************************************** #
NAME = libftprintf.a
SRC = ft_printf.c ft_put.c
OBJS = $(SRC:.c=.o)
CC = gcc
CFLAGS = -Wall -Werror -Wextra
RM = rm -rf
AR = ar crs
all: $(NAME)
$(NAME): $(OBJS)
$(AR) $(NAME) $(OBJS)
clean:
$(RM) $(OBJS)
fclean:
$(RM) $(NAME) $(OBJS)
re: fclean all
.PHONY: all clean fclean re