-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (31 loc) · 1.32 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
38
39
40
41
42
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: lde-alen <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/01/18 09:27:53 by lde-alen #+# #+# #
# Updated: 2022/03/15 22:18:39 by lde-alen ### ########.fr #
# #
# **************************************************************************** #
NAME = pipex
SRCS = ./srcs/childs.c \
./srcs/pipex_utils.c \
./srcs/pipex_utils_2.c \
./srcs/error_check.c \
./srcs/pipex_2.c \
./srcs/pipex.c \
./srcs/main.c \
OBJS = $(SRCS:.c=.o)
CFLAGS = -Wall -Wextra -Werror
CC = gcc
$(NAME) : $(OBJS)
$(CC) $(OBJS) -o $(NAME)
all : $(NAME)
clean :
rm -rf $(OBJS)
fclean : clean
rm -rf $(NAME)
re : fclean all
.PHONY : all clean fclean re