-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (28 loc) · 1.18 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: astripeb <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/03/11 09:35:23 by astripeb #+# #+# #
# Updated: 2019/03/18 10:20:44 by astripeb ### ########.fr #
# #
# **************************************************************************** #
NAME = bsq
CC = gcc
IDIR = ./includes/
SRCDIR = ./srcs/
CFLAGS = -Wall -Werror -Wextra
OBJ = *.o
SOURCES = $(SRCDIR)*.c
all: bin bsq clean
bsq:
@ $(CC) $(CFLAGS) -o $(NAME) $(OBJ)
bin:
@ $(CC) $(CFLAGS) -I $(IDIR) -c $(SOURCES)
clean:
@ rm -f $(OBJ)
fclean:
@ rm -f $(OBJ) $(NAME)
re: fclean all