-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 1.21 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: cquillet <cquillet@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/11/24 21:56:02 by cquillet #+# #+# #
# Updated: 2018/02/06 16:13:52 by cquillet ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
SRC = simplified_test.c stockshapes.c match_pieces.c algo_x.c matrix.c \
nodes.c link.c cover.c others.c fillit.c createpattern.c
OBJ = $(SRC:%.c=%.o)
all: $(NAME)
$(NAME): $(OBJ)
gcc -Wall -Wextra -Werror -o $@ $^
%.o: %.c
gcc -Wall -Wextra -Werror -c $?
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean $(NAME)