-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 1.14 KB
/
Makefile
File metadata and controls
34 lines (25 loc) · 1.14 KB
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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rburgsta <rburgsta@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/11/25 15:38:03 by rburgsta #+# #+# #
# Updated: 2023/04/22 15:54:41 by rburgsta ### ########.fr #
# #
# **************************************************************************** #
NAME = ex00
FLAGS = -Wall -Wextra -Werror -std=c++98
SRC = main.cpp Zombie.cpp
OBJ = $(SRC:%.cpp=%.o)
all : $(NAME)
$(NAME) : $(OBJ)
c++ $(FLAGS) -o $(NAME) $(OBJ)
%.o : %.cpp
c++ -c $(FLAGS) $^
clean :
rm -rf $(OBJ)
fclean : clean
rm -rf $(NAME)
re : fclean all