Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·99 lines (86 loc) · 2.16 KB
/
Copy pathMakefile
File metadata and controls
executable file
·99 lines (86 loc) · 2.16 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#******************************************************************************#
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: ioleksiu <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/05/08 12:24:27 by ioleksiu #+# #+# #
# Updated: 2017/05/08 15:49:48 by ioleksiu ### ########.fr #
# #
#******************************************************************************#
NAME = filler
FLAG = -Wall -Wextra -Werror
DEL = rm -rf
HDR = fillit.h
PATH = /bin/
SRC = main.c \
figure.c \
choose_players.c \
map.c \
send_cord.c \
can_place_figure.c \
find_coordinates.c \
linked_list.c \
find_the_closest_xy.c \
border_touched.c \
go_to_the_border.c \
choose_the_right_algorithm.c \
ft_atoi.c \
ft_strstr.c \
ft_bzero.c \
ft_isdigit.c \
ft_tolower.c \
get_next_line.c \
ft_strchr.c \
ft_strdup.c \
ft_strjoin.c \
ft_strlen.c \
ft_putnbr_fd.c \
ft_strsub.c \
ft_putchar_fd.c \
ft_putstr_fd.c \
ft_strnew.c \
ft_strncpy.c \
OBJ = main.o \
figure.o \
choose_players.o \
map.o \
send_cord.o \
can_place_figure.o \
find_coordinates.o \
linked_list.o \
find_the_closest_xy.o \
border_touched.o \
go_to_the_border.o \
choose_the_right_algorithm.o \
ft_atoi.o \
ft_strstr.o \
ft_bzero.o \
ft_isdigit.o \
ft_tolower.o \
get_next_line.o \
ft_strchr.o \
ft_strdup.o \
ft_strjoin.o \
ft_strlen.o \
ft_putnbr_fd.o \
ft_strsub.o \
ft_putchar_fd.o \
ft_putstr_fd.o \
ft_strnew.o \
ft_strncpy.o \
all: $(NAME)
$(NAME) : $(OBJ)
gcc $(FLAG) $(OBJ) -o $(NAME)
%.o: %.c
gcc $(FLAG) -c $<
clean:
$(DEL) $(OBJ)
fclean: clean
$(DEL) $(NAME)
re: fclean all
rmsh:
rm *~
rm \#*
rm *.out