-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (33 loc) · 1.36 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
42
43
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: jschott <jschott@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/10/09 10:31:55 by jschott #+# #+# #
# Updated: 2023/12/18 15:56:22 by jschott ### ########.fr #
# #
# **************************************************************************** #
NAME = Zombie
# SOURCES
SRCS = Zombie.cpp \
newZombie.cpp \
randomChump.cpp
# INCLUDES
HDRS = Zombie.hpp
# COMPILATION CMNDS
CC = c++
FT_FLAGS = -Wall -Wextra -Werror -std=c++98 -g
all: $(NAME)
@echo "\n\nCompilation finished successfully\nHave fun breaking things\n"
$(NAME): $(SRCS)
@echo "\n\nCompiling Executable\n"
$(CC) $(FT_FLAGS) -o $(NAME) $(SRCS)
@echo "\nExecutable compiled\n\n"
clean:
@rm -f $(NAME)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re