-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (42 loc) · 1.52 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
44
45
46
47
48
49
50
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: azaher <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/01/05 11:13:51 by azaher #+# #+# #
# Updated: 2023/01/21 13:21:14 by azaher ### ########.fr #
# #
# **************************************************************************** #
CC = cc
CFLAGS = -Wall -Wextra -Werror
RM = rm -rf
SRC = ft_split.c \
get_next_line.c \
get_next_line_utils.c \
mapval.c \
mapval_utils.c \
mapval_utils_2.c \
so_long.c \
so_long_utils.c \
move_player.c \
ft_printf.c \
ft_put_ptr.c \
ft_putchar.c \
ft_puthexa_low.c \
ft_puthexa_up.c \
ft_putnbr.c \
ft_putstr.c \
ft_unsigned_putnbr.c \
print_params.c \
pathval.c
NAME = so_long
all : $(NAME)
$(NAME) : $(SRC)
$(CC) $(CFLAGS) -I /usr/local/include $(SRC) -L /usr/local/lib -lmlx -framework OpenGL -framework AppKit -o $(NAME)
clean :
$(RM) $(NAME)
fclean : clean
$(RM) $(NAME)
re : fclean all