-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (26 loc) · 1.16 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: aleon-ca <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/02/22 09:25:30 by aleon-ca #+# #+# #
# Updated: 2021/05/10 10:05:22 by alejandro ### ########.fr #
# #
# **************************************************************************** #
SRCS = main.cpp
OBJS = $(SRCS:.cpp=.o)
NAME = containers.out
FLAGS = -Wall -Wextra -Werror
CLANG = clang++ $(FLAGS)
RM = rm -f
all: $(NAME)
$(NAME): $(OBJS)
$(CLANG) $(OBJS) -o $(NAME)
clean:
$(RM) $(OBJS)
fclean: clean
$(RM) $(NAME)
re: fclean all
.PHONY: all clean fclean re