Say hi.
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Sep 2013 17:28:17 +0000 (13:28 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Sep 2013 17:28:17 +0000 (13:28 -0400)
polymorphic-life/001/Makefile
polymorphic-life/001/src/polymorphic_life.ml [new file with mode: 0644]

index fa2bbc3..40aae7d 100644 (file)
@@ -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 (file)
index 0000000..e3c233d
--- /dev/null
@@ -0,0 +1,8 @@
+open Core.Std
+
+
+let main () =
+  printf "Hi!\n"
+
+
+let () = main ()
This page took 0.035721 seconds and 4 git commands to generate.