-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (40 loc) · 983 Bytes
/
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
44
45
46
47
48
49
50
51
52
53
54
##
## EPITECH PROJECT, 2023
## B-YEP-400-PAR-4-1-zappy-vincent.shao
## File description:
## Makefile
##
SERVER_PATH = src/server
GUI_PATH = src/gui
AI_PATH = src/ai
all: zappy_server zappy_gui zappy_ai
zappy_server:
$(MAKE) -C $(SERVER_PATH)
zappy_gui:
$(MAKE) -C $(GUI_PATH)
zappy_ai:
$(MAKE) -C $(AI_PATH)
doc:
sphinx-build -b html $(AI_PATH)/src Doc/Zappy_ai/
doxygen Doxyfile
tests_run:
$(MAKE) tests_run -C $(SERVER_PATH)
$(MAKE) tests_run -C $(GUI_PATH)
$(MAKE) tests_run -C $(AI_PATH)
clean:
$(MAKE) clean -C $(SERVER_PATH)
$(MAKE) clean -C $(GUI_PATH)
$(MAKE) clean -C $(AI_PATH)
fclean:
$(MAKE) fclean -C $(SERVER_PATH)
$(MAKE) fclean -C $(GUI_PATH)
$(MAKE) fclean -C $(AI_PATH)
re:
$(MAKE) re -C $(SERVER_PATH)
$(MAKE) re -C $(GUI_PATH)
$(MAKE) re -C $(AI_PATH)
debug:
$(MAKE) debug -C $(SERVER_PATH)
$(MAKE) debug -C $(GUI_PATH)
$(MAKE) debug -C $(AI_PATH)
.PHONY: all zappy_server zappy_gui zappy_ai tests_run clean fclean re debug doc