-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (36 loc) · 1.4 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
44
45
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: atoupart <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/01/29 10:16:34 by atoupart #+# #+# #
# Updated: 2017/02/23 16:37:13 by hchaucha ### ########.fr #
# #
# **************************************************************************** #
ASM_PATH = ./asm_dir
WAR_PATH = ./corewar_dir
all:
@make -C $(ASM_PATH) all
@make -C $(WAR_PATH) all
asm:
@make -C $(ASM_PATH) all
corewar:
@make -C $(WAR_PATH) all
clean:
@make -C $(ASM_PATH) clean
@make -C $(WAR_PATH) clean
fclean:
@make -C $(ASM_PATH) fclean
@make -C $(WAR_PATH) fclean
re:
@make -C $(ASM_PATH) re
@make -C $(WAR_PATH) re
tests: all
@cp ./asm ./tests
@cp ./corewar ./tests
@sh ./tests/ressources/main_test.sh $(OPT)
clean_tests:
@rm -rf ./tests/sandbox/
@rm -rf ./tests/ressources/players/*.cor