aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morpion_rec/AmaneSuzuha/Makefile4
-rw-r--r--morpion_rec/FeirisuNyanNyan/Makefile3
-rw-r--r--morpion_rec/Mayushii/Makefile3
-rw-r--r--ocaml_player.make11
4 files changed, 21 insertions, 0 deletions
diff --git a/morpion_rec/AmaneSuzuha/Makefile b/morpion_rec/AmaneSuzuha/Makefile
new file mode 100644
index 0000000..e0c9ffb
--- /dev/null
+++ b/morpion_rec/AmaneSuzuha/Makefile
@@ -0,0 +1,4 @@
+NAME=amane
+
+include ../../ocaml_player.make
+
diff --git a/morpion_rec/FeirisuNyanNyan/Makefile b/morpion_rec/FeirisuNyanNyan/Makefile
new file mode 100644
index 0000000..d6945cd
--- /dev/null
+++ b/morpion_rec/FeirisuNyanNyan/Makefile
@@ -0,0 +1,3 @@
+NAME=feirisu
+
+include ../../ocaml_player.make
diff --git a/morpion_rec/Mayushii/Makefile b/morpion_rec/Mayushii/Makefile
new file mode 100644
index 0000000..e2f4f70
--- /dev/null
+++ b/morpion_rec/Mayushii/Makefile
@@ -0,0 +1,3 @@
+NAME=mayushii
+
+include ../../ocaml_player.make
diff --git a/ocaml_player.make b/ocaml_player.make
new file mode 100644
index 0000000..a7efc80
--- /dev/null
+++ b/ocaml_player.make
@@ -0,0 +1,11 @@
+
+all: player
+
+player: *.ml lib/*.ml
+ ocamlbuild $(NAME).native
+ cp $(NAME).native player
+ rm $(NAME).native
+
+clean:
+ rm -r _build
+ rm player