-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (32 loc) · 1.06 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
## /$$$$$$ /$$ /$$ /$$ ##
##|_ $$_/ | $$ | $$$ /$$$ ##
## | $$ /$$$$$$$ /$$$$$$ | $$$$ /$$$$ /$$$$$$ /$$ /$$ ##
## | $$ | $$__ $$|_ $$_/ | $$ $$/$$ $$ |____ $$| $$ /$$/ ##
## | $$ | $$ \ $$ | $$ | $$ $$$| $$ /$$$$$$$ \ $$$$/ ##
## | $$ | $$ | $$ | $$ /$$| $$\ $ | $$ /$$__ $$ >$$ $$ ##
## /$$$$$$| $$ | $$ | $$$$/| $$ \/ | $$| $$$$$$$ /$$/\ $$ ##
##|______/|__/ |__/ \___/ |__/ |__/ \_______/|__/ \__/ ##
##
## @file: Makefile @author: IntMaxOddity
NAME = IMChecker
CC = c++
SRC = checker.cpp \
print.cpp \
utils.cpp \
execPhilo.cpp \
parsing.cpp
OBJ = $(SRC:%.cpp=%.o)
%.o: %.c
@$(CC) -c $< -o $@
$(NAME): $(OBJ)
@$(CC) $(OBJ) -o $(NAME)
@echo "\033[4;32m--- executable created ---\n\033[0m"
@rm -rf $(OBJ)
all: $(NAME)
clean:
@rm -rf $(OBJ)
fclean: clean
@rm -rf $(NAME)
@echo "\033[4;35m--- all creations have been deleted ---\n\033[0m"
re: fclean all
.PHONY: all clean fclean re bonus