aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 198661e45dab23ce680da77cc6a88b04d8e7577c (plain)
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
# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    Makefile                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: cacharle <marvin@42.fr>                    +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2020/02/09 03:31:28 by cacharle          #+#    #+#              #
#    Updated: 2020/10/24 13:05:33 by charles          ###   ########.fr        #
#                                                                              #
# **************************************************************************** #

MAKE = make --no-print-directory

PHILO_ONE_DIR = philo_one
PHILO_TWO_DIR = philo_two
PHILO_THREE_DIR = philo_three

help:
	@echo "make philo_one    - compile philo_one"
	@echo "make philo_two    - compile philo_two"
	@echo "make philo_three  - compile philo_three"

philo_one:
	$(MAKE) -C $(PHILO_ONE_DIR)

philo_two:
	$(MAKE) -C $(PHILO_TWO_DIR)

philo_three:
	$(MAKE) -C $(PHILO_THREE_DIR)

.PHONY: philo_one philo_two philo_three help