aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-09 03:33:24 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-09 03:33:24 +0100
commitdfbafce6506fe5c47b0e60289a9d4629e502c9ac (patch)
treebff26d329d67b4d5f4f74dff4099743836ac8efb /Makefile
parent34058c2901f18fd11a6e50e9fa8e3faefdcc6c7b (diff)
downloadphilosophers-dfbafce6506fe5c47b0e60289a9d4629e502c9ac.tar.gz
philosophers-dfbafce6506fe5c47b0e60289a9d4629e502c9ac.tar.bz2
philosophers-dfbafce6506fe5c47b0e60289a9d4629e502c9ac.zip
Added common files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3ebc3ac
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+# **************************************************************************** #
+# #
+# ::: :::::::: #
+# Makefile :+: :+: :+: #
+# +:+ +:+ +:+ #
+# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
+# +#+#+#+#+#+ +#+ #
+# Created: 2020/02/09 03:31:28 by cacharle #+# #+# #
+# Updated: 2020/02/09 03:32:56 by cacharle ### ########.fr #
+# #
+# **************************************************************************** #
+
+MAKE = make
+MAKE_ARGS = -no-print-child
+
+PHILO_ONE_DIR = philo_one
+PHILO_TWO_DIR = philo_two
+PHILO_THREE_DIR = philo_three
+
+philo_one:
+ $(MAKE) $(MAKE_ARGS) $(PHILO_ONE_DIR)
+
+philo_two:
+ $(MAKE) $(MAKE_ARGS) $(PHILO_TWO_DIR)
+
+philo_two:
+ $(MAKE) $(MAKE_ARGS) $(PHILO_THREE_DIR)