From: Siraaj Khandkar Date: Wed, 25 Sep 2013 17:28:17 +0000 (-0400) Subject: Say hi. X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=8c93b722cd62dccd61959609c96ce57e53dbe3e3;p=cellular-automata.git Say hi. --- diff --git a/polymorphic-life/001/Makefile b/polymorphic-life/001/Makefile index fa2bbc3..40aae7d 100644 --- a/polymorphic-life/001/Makefile +++ b/polymorphic-life/001/Makefile @@ -5,7 +5,11 @@ EXE_TYPE := native build: $(eval executable_name := polymorphic_life) $(eval executable_name_ext := $(executable_name).$(EXE_TYPE)) - @ocamlbuild src/$(executable_name_ext) + @ocamlbuild \ + -use-ocamlfind \ + -package core \ + -tag thread \ + src/$(executable_name_ext) @mkdir -p bin/ @cp _build/src/$(executable_name_ext) bin/$(executable_name) @rm $(executable_name_ext) diff --git a/polymorphic-life/001/src/polymorphic_life.ml b/polymorphic-life/001/src/polymorphic_life.ml new file mode 100644 index 0000000..e3c233d --- /dev/null +++ b/polymorphic-life/001/src/polymorphic_life.ml @@ -0,0 +1,8 @@ +open Core.Std + + +let main () = + printf "Hi!\n" + + +let () = main ()