-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 1.34 KB
/
Makefile
File metadata and controls
42 lines (31 loc) · 1.34 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
35
36
37
38
39
40
41
42
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: Roger Ndaba <rogerndaba@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/06/24 09:31:10 by Roger Ndaba #+# #+# #
# Updated: 2019/06/24 09:31:10 by Roger Ndaba ### ########.fr #
# #
# **************************************************************************** #
NAME = avm
INCL = -I../inc/
CC = clang++
FLAGS = -Wall -Wextra -Werror -std=c++11
SRC = AVM.cpp \
ErrorException.cpp \
Factory.cpp \
Lexer.cpp \
Parser.cpp \
main.cpp
all: $(NAME)
$(NAME):
@$(CC) $(FLAGS) $(INCL) $(addprefix src/, $(SRC)) -o $(NAME)
@printf "\n🌸 \e[1;32m[ ✔ ] avm excecutable made\n\e[0m\n"
clean:
@rm -fr $(NAME)
@printf "\n🌸 \e[1;31m[ ✔ ] avm excecutable deleted\n\e[0m\n"
fclean: clean
re: fclean all
.PHONY: clean all fclean