-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (42 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: tvermeil <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2015/12/18 19:13:31 by tvermeil #+# #+# #
# Updated: 2016/05/09 17:42:21 by jriallan ### ########.fr #
# #
# **************************************************************************** #
MAKEFLAGS += --no-print-directory
SUB_MAKEFILES = libft \
src/asm \
src/vm \
all:
@make -C libft all
@make -C src/asm all
@make -C src/vm all
libft.a:
@make -C libft all
asm:
@make -C src/asm all
corewar:
@make -C src/vm all
clean:
@-for i in $(SUB_MAKEFILES) ; do \
make -C $$i clean; \
done
@rmdir obj 2> /dev/null || true
fclean: clean
@for i in $(SUB_MAKEFILES) ; do \
make -C $$i fclean; \
done
re: fclean all
ac: all clean
norme:
@for i in $(SUB_MAKEFILES) ; do \
make -C $$i norme; \
done
@norminette include/*.h
.PHONY: all clean fclean re