-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
71 lines (58 loc) · 1.4 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
##
## Makefile for in /home/belfio_u/rendu/MUL/MUL_2014_rtracer
##
## Made by ugo belfiore
## Login <[email protected]>
##
## Started on Sun May 31 01:53:15 2015 ugo belfiore
## Last update Fri Jun 5 18:53:24 2015 msa_m
##
SRC = ./src/main.c \
./src/my_error.c \
./src/my_parsing_rt.c \
./src/my_str_to_wordtab_rt.c \
./src/get_next_line.c \
./src/my_obj_list.c \
./src/my_realloc.c \
./src/evenement.c \
./src/evenement_keyframe.c \
./src/thread_func.c \
./src/move_xyz_all.c \
./src/aff_all.c \
./src/aff_all_obj.c \
./src/algo_rt.c \
./src/aff_pix_img.c \
./src/my_change_color.c \
./src/rotation.c \
./src/obj.c \
./src/translations.c \
./src/calculate_k.c \
./src/lum.c \
./src/shadow.c \
./src/my_strcpy.c \
./src/my_strdup.c \
./src/vector.c \
./src/filter.c \
./src/pop_filter.c \
./src/get_color.c \
./src/negativ.c \
./src/calc.c \
./src/my_obj_pos.c \
./src/my_obj_len.c \
./src/my_parsing_obj.c \
OBJ = $(SRC:.c=.o)
NAME = rt
LIB = -L./lib/my -lmy
LIBMINI = -L./lib/minilibx -lmlx
CC = gcc
CFLAGS += -W -Wall -Wextra -Ofast
CFLAGS += -I./include
LDFLAGS = $(LIB) $(LIBMINI) -L/usr/lib64/X11 -lXext -lX11 -lm -lpthread
all: $(NAME)
$(NAME): $(OBJ)
$(CC) $(OBJ) -o $(NAME) $(LDFLAGS)
clean:
@rm -f $(OBJ)
fclean: clean
@rm -f $(NAME)
re: fclean all