diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2012-06-27 12:58:21 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2012-06-27 12:58:21 +0000 |
| commit | ec0422aa3333200cb1b7fdf3a2a34fc3ca993c51 (patch) | |
| tree | ae82c0fb1660d30e791d96afb3f00cbeb331ffb2 /testsuite/tests/lib-scanf-2 | |
| parent | 6973c3b9daf970849a7d881f31f9c501422b4fb8 (diff) | |
| download | ocaml-ec0422aa3333200cb1b7fdf3a2a34fc3ca993c51.tar.gz | |
PR#5661: fixes for the test suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/tests/lib-scanf-2')
| -rw-r--r-- | testsuite/tests/lib-scanf-2/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/lib-scanf-2/Makefile b/testsuite/tests/lib-scanf-2/Makefile index 216b396301..7362fad9ca 100644 --- a/testsuite/tests/lib-scanf-2/Makefile +++ b/testsuite/tests/lib-scanf-2/Makefile @@ -2,10 +2,11 @@ BASEDIR=../.. default: compile run -compile: tscanf2_io.cmo tscanf2_io.cmx +compile: tscanf2_io.cmo @$(OCAMLC) unix.cma tscanf2_io.cmo -o master.byte tscanf2_master.ml @$(OCAMLC) tscanf2_io.cmo -o slave.byte tscanf2_slave.ml @if [ -z "$(BYTECODE_ONLY)" ]; then \ + $(MAKE) tscanf2_io.cmx; \ $(OCAMLOPT) unix.cmxa tscanf2_io.cmx -o master.native tscanf2_master.ml; \ $(OCAMLOPT) tscanf2_io.cmx -o slave.native tscanf2_slave.ml; \ fi |
