-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (38 loc) · 810 Bytes
/
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
##
## Makefile for in /home/walbec_h/rendu 2014-2015/Igraph/MUL_2014_rtv1
##
## Made by hugo walbecq
## Login <walbec_h@epitech.net>
##
## Started on Mon Feb 2 13:25:04 2015 hugo walbecq
## Last update Fri Apr 17 12:26:38 2015 walbec_h
##
NAME = rtv1
MAIN = main.c
SRC = $(MAIN)\
error_obj.c\
reflexion.c\
aliasing.c\
shadow.c\
key_expose.c\
move.c\
light.c\
intersection.c\
delta.c\
situation.c\
find.c\
my_pixel_put_to_image.c
OBJ = $(SRC:.c=.o)
LIBFLAGS = -L my_lib/ \
-lmy
all : $(NAME)
$(NAME) : $(OBJ)
cc -o $(NAME) $(OBJ) -L./minilibx/ -lmlx_x86_64 -L/usr/lib64/X11 -lXext -lX11 -lm -L. my_lib/libmy.a
lib :
make re -C my_lib/
clean :
rm -fr $(OBJ)
make clean -C my_lib/
fclean : clean
rm -fr $(NAME)
re : lib fclean all