Update the examples
This commit is contained in:
parent
4395be09da
commit
a1d147022a
5
Makefile
5
Makefile
|
@ -17,6 +17,11 @@ reinstall:
|
|||
$(MAKE) uninstall
|
||||
$(MAKE) install
|
||||
|
||||
|
||||
.PHONY: examples
|
||||
examples:
|
||||
jbuilder build @examples
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
jbuilder runtest
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
OC := ocamlbuild -classic-display -no-links -use-ocamlfind
|
||||
|
||||
build:
|
||||
$(OC) -tag thread -pkg threads,utop myutop.top
|
||||
|
||||
clean:
|
||||
$(OC) -clean
|
|
@ -0,0 +1,6 @@
|
|||
(jbuild_version 1)
|
||||
|
||||
(executable
|
||||
((name myutop)
|
||||
(link_flags (-linkall))
|
||||
(libraries (utop))))
|
|
@ -1 +0,0 @@
|
|||
Myutop_main
|
|
@ -1,7 +0,0 @@
|
|||
OC := ocamlbuild -classic-display -no-links -use-ocamlfind
|
||||
|
||||
build:
|
||||
$(OC) -pkg threads,compiler-libs.toplevel,utop test_program.byte
|
||||
|
||||
clean:
|
||||
$(OC) -clean
|
|
@ -1 +0,0 @@
|
|||
true: thread, linkall, predicate(create_toploop), warn(-40), bin_annot
|
|
@ -0,0 +1,6 @@
|
|||
(jbuild_version 1)
|
||||
|
||||
(executable
|
||||
((name test_program)
|
||||
(link_flags (-linkall))
|
||||
(libraries (utop))))
|
Loading…
Reference in New Issue