-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 831 Bytes
/
Makefile
File metadata and controls
42 lines (32 loc) · 831 Bytes
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
##
## EPITECH PROJECT, 2024
## tradingbot
## File description:
## Makefile
##
ANALYZER_NAME = my_torch_analyzer
GENERATOR_NAME = my_torch_generator
ANALYZER_MAIN = src/analyzer/main.py
GENERATOR_MAIN = src/generator/main.py
all: $(ANALYZER_NAME) $(GENERATOR_NAME)
$(ANALYZER_NAME):
@echo -ne "\nCompilation: "
cp $(ANALYZER_MAIN) $(ANALYZER_NAME)
chmod +x $(ANALYZER_NAME)
@echo -e "\033[92mDone\n\033[0m"
analyzer_clean:
@echo -ne "Clean: \n"
rm -rf $(ANALYZER_NAME)
@echo -e "\033[92m Done\033[0m"
$(GENERATOR_NAME):
@echo -ne "\nCompilation: "
cp $(GENERATOR_MAIN) $(GENERATOR_NAME)
chmod +x $(GENERATOR_NAME)
@echo -e "\033[92mDone\n\033[0m"
generator_clean:
@echo -ne "Clean: \n"
rm -rf $(GENERATOR_NAME)
@echo -e "\033[92m Done\033[0m"
clean:
fclean: analyzer_clean generator_clean
re: fclean all