From bab745683bb2b67fbfd6f2fe64abb8853e2ab5bc Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 9 Oct 2016 08:01:40 +0000 Subject: [PATCH] Fix misleading comment in Makefile.example --- Makefile.examples | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.examples b/Makefile.examples index a9f1464..4432afa 100644 --- a/Makefile.examples +++ b/Makefile.examples @@ -76,14 +76,14 @@ build_standalone_byt: # Link our "OCaml universe" (OCaml code + runtime system) "statically" into a DLL $(OCAMLC) -I $(CSMLDIR) $(OCAMLFLAGS) -output-obj -o lib$(NAME)_ml_byt$(EXT_DLL) -linkall $(CSMLMLLIBS) $(MLCODE) # -# csml_byt.dll expects to find the csml C/OCaml runtime in csml_ml_byt.dll. +# CSML binding code expects to find the csml C/OCaml runtime in csml_ml_byt.dll. # But now this runtime is in $(NAME)_ml_byt.dll, so we need to make -# a custom version of csml_byt.dll that points to this DLL instead. +# a custom version of the binding code that points to this DLL instead. # The first step is to build a small C# file that mentions this DLL name. $(CSML) -dllbind lib$(NAME)_ml_byt > $(NAME)_ml_byt.cs # -# Now we can build the DLL itself. While we are at it, we can put the -# C# code of our application directly in the same DLL as well. +# Now we can build the application executable itself. While we are at it, we can put the +# C# binding code directly in the application executable. $(CSC) /out:$(NAME)_standalone_byt.exe $(NAME)_ml_byt.cs $(CSMLCSCODE) $(CSCODE)