-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (25 loc) · 1.15 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: asosnov <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/08/01 23:18:50 by asosnov #+# #+# #
# Updated: 2016/08/01 23:18:56 by asosnov ### ########.fr #
# #
# **************************************************************************** #
CC = gcc
NAME = bsq
SRC = main.c stack.c libfiles.c search.c extra.c
CFLAGS += -Wall -Wextra -Werror
HEADER = bsq.h
.PHONY: clean fclean re
all: $(NAME)
$(NAME):
$(CC) -o $(NAME) $(CFLAGS) $(SRC)
clean:
/bin/rm -f $(SRC:.c=.o)
fclean: clean
/bin/rm -f $(NAME)
re: fclean all