-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 1.25 KB
/
Makefile
File metadata and controls
42 lines (32 loc) · 1.25 KB
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: acastrov <acastrov@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/12/18 18:33:48 by acastrov #+# #+# #
# Updated: 2025/01/03 23:07:16 by acastrov ### ########.fr #
# #
# **************************************************************************** #
NAME = pipex
SRCS = pipex.c \
pipex_args.c \
pipex_free.c \
pipex_check.c \
pipex_open.c \
pipex_libft_other_1.c \
pipex_libft_other_2.c \
pipex_libft_split.c \
OBJS = $(SRCS:.c=.o)
CFLAGS = -Werror -Wextra -Wall
CC = cc
all: $(NAME)
$(NAME): $(SRCS)
cc $(SRCS) -o $(NAME)
clean:
rm -f $(OBJS)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re