-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·36 lines (28 loc) · 1.16 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rlechapt <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2014/12/05 18:44:55 by rlechapt #+# #+# #
# Updated: 2015/01/19 22:10:07 by rlechapt ### ########.fr #
# #
# **************************************************************************** #
NAME = fdf
SRC = \
main.c \
draw.c \
image.c
EXT = $(SRC:.c=.o)
all: $(NAME)
$(NAME):
make -C ./libft
gcc -o $(NAME) $(SRC) -L libft -lft -L/usr/X11/lib -lmlx -lX11 -lXext
clean:
make clean -C ./libft
rm -f $(EXT)
fclean: clean
make fclean -C ./libft
rm -f $(NAME)
re: fclean all