-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (29 loc) · 1.17 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: knzeng-e <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/03/13 19:06:45 by knzeng-e #+# #+# #
# Updated: 2016/04/01 05:21:57 by knzeng-e ### ########.fr #
# #
# **************************************************************************** #
NAME = libft.a
CC = gcc
SRCS = *.c
OBJ = *.o
HEAD = libft.h
FLAGS = -Wall -Werror -Wextra
$(NAME): all
all:
@$(CC) -c $(FLAGS) -I$(HEAD) $(SRCS)
@#$(CC) $(OBJ) -o $(NAME)
@ar rc $(NAME) $(OBJ)
@ranlib $(NAME)
clean: all
rm -rf $(OBJ)
fclean: clean
rm -rf $(NAME)
re: fclean
make all