-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 1.21 KB
/
Makefile
File metadata and controls
36 lines (29 loc) · 1.21 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rdragan <rdragan@student.42heilbronn.de +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/03/26 15:16:07 by rdragan #+# #+# #
# Updated: 2023/03/29 18:58:53 by rdragan ### ########.fr #
# #
# **************************************************************************** #
NAME := pipex
SRC := main.c \
ft_split.c \
ft_split_utils.c \
ft_strjoin.c \
pipex_utils.c\
quotation_utils.c
OBJ := $(SRC:%.c=%.o)
CFLAGS := -Wall -Wextra -Werror
.PHONY: all, clean, fclean, re
all: $(NAME) $(OBJ)
$(NAME): $(OBJ)
@$(CC) $(CFLAGS) $(OBJ) -o $(NAME)
clean:
@rm -Rf $(OBJ)
fclean: clean
@rm -f $(NAME)
re: fclean all