-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (25 loc) · 1.23 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: eteyssed <eteyssed@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2014/11/24 18:24:10 by eteyssed #+# #+# #
# Updated: 2014/11/24 18:24:11 by eteyssed ### ########.fr #
# #
# **************************************************************************** #
NAME = fdf
SRC = main.c line.c perspective.c readmap.c libmlx.c bonus.c move.c free.c libft/get_next_line.c
FLAGS = -Wall -Wextra -Werror
CC = gcc
all: $(NAME)
$(NAME):
gcc -Wall -Werror -Wextra $(SRC) -I. -o $(NAME) \
libft/libft.a -L/usr/X11/lib -lmlx -lXext -lX11
./fdf 240 240 240 360
clean:
@rm -f $(OBJ)
fclean: clean
@rm -f $(NAME)
re: fclean all