-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (44 loc) · 1.58 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: mkok <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/12/12 19:16:20 by mkok #+# #+# #
# Updated: 2017/01/29 15:21:45 by ssalaues ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
SRCS = \
./srcs/fillit.h \
./srcs/trimtetro.c \
./srcs/main.c \
./srcs/rtet.c \
./srcs/validatechars.c \
./srcs/validateshape.c \
./srcs/addtomap.c \
./srcs/mapmaker.c \
./srcs/filledarea.c \
./srcs/tetrotoalpha.c \
./srcs/addallpieces.c \
./srcs/addallpieceshori.c \
./srcs/findheight.c \
./srcs/findwidth.c \
./srcs/doesitfit.c \
./srcs/allpiecesused.c \
./srcs/piececount.c \
./srcs/allpiecesfit.c \
./srcs/ft_sqrt_ceil.c \
./srcs/move.c
all: $(NAME)
$(NAME): lib
@gcc -Wall -Wextra -Werror $(SRCS) -Llibft -lft -g
lib:
@cd libft && make
clean:
/bin/rm -f $(OBJS)
fclean: clean
/bin/rm -f $(NAME)
/bin/rm a.out
re: fclean all