-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (30 loc) · 1.29 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
#******************************************************************************#
# #
# :::::::: #
# Makefile :+: :+: #
# +:+ #
# By: ravan-de <marvin@codam.nl> +#+ #
# +#+ #
# Created: 2019/05/02 15:57:41 by ravan-de #+# #+# #
# Updated: 2019/06/26 19:13:12 by ravan-de ######## odam.nl #
# #
#******************************************************************************#
NAME = fillit
OBJ = ft_putsquare.o ft_putbin.o fillit.o ft_readtet.o ft_solver.o \
ft_shiftsave.o ft_initialize_board.o ft_print.o ft_isvalid.o
FLAGS = -Wall -Wextra -Werror
INCL = libft/includes
LIB = libft/libft.a
all: $(NAME)
$(NAME): $(OBJ)
gcc -o $(NAME) $(FLAGS) $(OBJ) $(LIB)
%.o: %.c
gcc -c $(FLAGS) -I $(INCL) $<
clean:
rm -f *.o
fclean: clean
rm -f $(NAME)
re: fclean all
doei: clean
rm -f *~
rm -f *#