From b71f367f80c9bc12f587d7592eb40cec7787adbe Mon Sep 17 00:00:00 2001 From: bunny Date: Wed, 17 Sep 2025 22:46:21 +0100 Subject: [PATCH] Makefile added --- Makefile | 6 +++--- README.md | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 28b223f..ad616e8 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ common_files = parser.ml periodic.ml main.ml -monpar.native: - ocamlfind ocamlopt $(common_files) +native: + ocamlfind ocamlopt $(common_files) -monpar.byte: +byte: ocamlfind ocamlc $(common_files) clean: rm -f *.cmo *.cmi *.o *.out *.cmx diff --git a/README.md b/README.md index e69de29..df51644 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,7 @@ +```bash +$ make native +``` + +```bash +$ make byte +```