-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (49 loc) · 1.17 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
51
52
53
54
55
56
CC=gcc
LFLAGS= -Wall -Wextra -Werror -I/usr/include -Iminilibx -Lminilibx -lmlx -lX11 -lXext -lm -lbsd -march=native -O3
NAME= ./cub3D
SRC = ./src/main.c \
./src/init.c \
./src/extract_textures.c \
./src/find_chars.c \
./src/param_sprites.c \
./src/param_enemy.c \
./src/draw.c \
./src/drawcol.c \
./src/sprites.c \
./src/doors_bonus.c \
./src/ft_pythagore.c \
./src/animation.c \
./src/raymachine.c \
./src/ft_ray_col.c \
./src/events.c \
./src/ft_control.c \
./src/ft_control2.c \
./src/ft_coor.c \
./src/ft_display.c \
./src/ft_images.c \
./src/ft_save.c \
./src/ft_map.c \
./src/ft_map2.c \
./src/find_info.c \
./src/ft_parsing.c \
./src/ft_ray.c \
./src/ft_utils.c \
./src/ft_clean.c \
./src/ft_check.c \
./Gnl/get_next_line_utils.c \
./Gnl/get_next_line.c \
./Libft/ft_atoi.c \
./Libft/ft_strmcat.c \
./Libft/ft_strlen.c \
./Libft/ft_substr.c \
./Libft/ft_ctostr.c \
./Libft/ft_strncmp.c \
./Libft/ft_strdup.c \
./Libft/ft_putstr_fd.c \
./Libft/ft_strrchr.c \
all :$(NAME)
$(NAME) :$(OBJ)
$(CC) -o $(NAME) $(SRC) -D BUFFER_SIZE=32 $(LFLAGS)
clean :
rm -f $(NAME) $(OBJ) *~ core *.core
re : clean all