-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (27 loc) · 1.2 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: kdrumm <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/10/15 13:23:47 by dbotova #+# #+# #
# Updated: 2016/10/27 15:53:26 by kdrumm ### ########.fr #
# #
# **************************************************************************** #
CC = gcc
NAME = fillit
CFLAGS = -Wall -Wextra -Werror
SRC_NAME = fillit.c fillit2.c fillit3.c fillit4.c
OBJ_NAME = $(SRC_NAME:.c=.o)
.PHONY: clean fclean re
all: $(NAME)
$(NAME):
$(CC) $(CFLAGS) -o $(NAME) $(SRC_NAME) -L. -lft
norme:
norminette $(SRC_NAME)
clean:
rm -f $(OBJ_NAME)
fclean: clean
rm -f $(NAME)
re: fclean all