-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
42 lines (34 loc) · 1.35 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: viclucas <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/09/10 15:19:32 by viclucas #+# #+# #
# Updated: 2019/09/14 12:01:49 by viclucas ### ########.fr #
# #
# **************************************************************************** #
NAME = ./corewar
CC = gcc
CFLAGS = -Wall -Wextra -Werror -I.
RM = rm -f
LIBFT = -L./libft -lft
LIBFT_PATH = ./libft
VM_PATH = ./vm
ASM_PATH = ./assembler
all: $(NAME)
$(NAME):
@make -C $(LIBFT_PATH)
@make -C $(VM_PATH)
@make -C $(ASM_PATH)
clean:
@make -C $(LIBFT_PATH) clean
@make -C $(VM_PATH) clean
@make -C $(ASM_PATH) clean
fclean: clean
@make -C $(LIBFT_PATH) fclean
@make -C $(VM_PATH) fclean
@make -C $(ASM_PATH) fclean
re: fclean all
.PHONY: all clean fclean re