-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (26 loc) · 1.2 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: eamghar <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/03/16 16:38:48 by eamghar #+# #+# #
# Updated: 2023/03/21 14:20:45 by eamghar ### ########.fr #
# #
# **************************************************************************** #
HEADER = philosophers.h
NAME = philo
SRC = mandatory/ft_libft_functions.c \
mandatory/ft_libft_functions2.c \
mandatory/ft_threads.c \
mandatory/philo.c \
CC = cc
CFLAGS = -Wall -Werror -Wextra
all : $(NAME)
$(NAME) : $(SRC) $(HEADER)
$(CC) $(SRC) -o $(NAME)
clean :
rm -rf $(NAME)
fclean : clean
re : fclean all