aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-24 13:06:05 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-24 13:06:05 +0200
commit2baa67fd7ad31fe53ab21d257a104478e787fb62 (patch)
treeac38bdf7aecd7056e1b7dfdd51f5403547966380 /Makefile
parent47e1a7b4af69e1998182126310e42af83cf214ed (diff)
downloadphilosophers-2baa67fd7ad31fe53ab21d257a104478e787fb62.tar.gz
philosophers-2baa67fd7ad31fe53ab21d257a104478e787fb62.tar.bz2
philosophers-2baa67fd7ad31fe53ab21d257a104478e787fb62.zip
Replacing mutex stdout by semaphore in philo two, Compilation on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 0a507d0..198661e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,11 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/09 03:31:28 by cacharle #+# #+# #
-# Updated: 2020/09/27 09:04:22 by charles ### ########.fr #
+# Updated: 2020/10/24 13:05:33 by charles ### ########.fr #
# #
# **************************************************************************** #
-MAKE = make
-MAKE_ARGS = --no-print-directory
+MAKE = make --no-print-directory
PHILO_ONE_DIR = philo_one
PHILO_TWO_DIR = philo_two
@@ -22,14 +21,13 @@ help:
@echo "make philo_two - compile philo_two"
@echo "make philo_three - compile philo_three"
-.PHONY: philo_one
philo_one:
- $(MAKE) $(MAKE_ARGS) -C $(PHILO_ONE_DIR)
+ $(MAKE) -C $(PHILO_ONE_DIR)
-.PHONY: philo_two
philo_two:
- $(MAKE) $(MAKE_ARGS) -C $(PHILO_TWO_DIR)
+ $(MAKE) -C $(PHILO_TWO_DIR)
-.PHONY: philo_three
philo_three:
- $(MAKE) $(MAKE_ARGS) -C $(PHILO_THREE_DIR)
+ $(MAKE) -C $(PHILO_THREE_DIR)
+
+.PHONY: philo_one philo_two philo_three help