-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (36 loc) · 1.31 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: zwalad <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/02/08 03:21:34 by zwalad #+# #+# #
# Updated: 2022/02/10 20:04:03 by zwalad ### ########.fr #
# #
# **************************************************************************** #
NAME := so_long
CC := cc
CFLAGS := -Wall -Wextra -Werror
RM = @rm -f
SRC := main.c \
so_map.c\
so_mapa.c\
so_moves.c\
so_player.c\
so_walls.c\
so_lib.c\
get_next_line.c\
get_next_line_utils.c\
ft_help.c\
ft_help2.c\
ft_printf.c\
OBJ := $(SRC:%.c= %.o)
all: $(NAME)
$(NAME): $(OBJ)
$(CC) $(OBJ) -o $(NAME) -lmlx -framework OpenGL -framework AppKit
clean:
$(RM) $(OBJ)
fclean: clean
$(RM) $(NAME)
re: fclean all