-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (25 loc) · 1.09 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: ahoareau <ahoareau@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/01/13 08:53:07 by ahoareau #+# #+# #
# Updated: 2016/02/22 16:27:13 by ahoareau ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
CC = gcc -Wall -Werror -Wextra
SRC = src/*.c
OBJ = *.o
INC = ./inc/
all: $(NAME)
$(NAME):
$(CC) -I$(INC) -c $(SRC)
$(CC) $(OBJ) -o $(NAME)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all