-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (31 loc) · 1.23 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
43
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: dohyuki2 <[email protected]. +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/08/19 13:00:35 by dohyuki2 #+# #+# #
# Updated: 2024/11/12 16:57:10 by dohyuki2 ### ########.fr #
# #
# **************************************************************************** #
NAME = minishell
CC = cc
CFLAG = -Wall -Wextra -Werror
INC = minishell.h
SRCS = minishell.c \
Utilities/check_param.c \
parse/check_param.c
OBJS = $(SRCS:.c=.o)
all : $(NAME)
$(NAME) : $(OBJS)
$(CC) $(CFLAG) -g -o $(NAME) $^ -lreadline
clean :
rm -rf $(OBJS)
fclean :
make clean
rm -rf $(NAME)
re :
make fclean
make all
.PHONY : all clean fclean re