-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (29 loc) · 1.29 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: azaher <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/06/18 06:39:52 by azaher #+# #+# #
# Updated: 2023/06/18 06:39:52 by azaher ### ########.fr #
# #
# **************************************************************************** #
SRCS = sources/tools.c \
sources/ft_atoitoa.c \
sources/initialisation.c \
sources/init_tools.c \
sources/philo_tools.c \
philosophers.c
NAME = philo
CFLAGS = -Wall -Wextra
OBJS = ${SRCS:.c=.o}
BOBJS = ${BSRCS:.c=.o}
all : ${NAME}
${NAME} : ${OBJS}
cc ${CFLAGS} ${SRCS} -o ${NAME}
clean :
rm -f ${OBJS} ${BOBJS}
fclean : clean
rm -f ${NAME} ${BNAME}
re : fclean all