-
Notifications
You must be signed in to change notification settings - Fork 25
/
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: mhaziza <mhaziza@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/03/15 15:57:23 by mhaziza #+# #+# #
# Updated: 2017/03/31 11:04:30 by mhaziza ### ########.fr #
# #
# **************************************************************************** #
NAME = compile
CC = gcc
CFLAGS = -Wall -Wextra -Werror -I.
RM = rm -f
LIBFT = -L./libft -lft
LIBFT_PATH = ./libft
VM_PATH = ./VM
ASM_PATH = ./asm_dir
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