summaryrefslogtreecommitdiff
path: root/Examples/ocaml/scoped_enum
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-03-26 19:51:09 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-03-26 19:51:09 +0000
commit166b683e8918c655dcfa9c9c3d99727bbf6288ef (patch)
tree4f744a10a44e5d1eb28f70c4fcaf32b688520243 /Examples/ocaml/scoped_enum
parent12a438542a4dd80e3b52a70c684f79098dece334 (diff)
downloadswig-166b683e8918c655dcfa9c9c3d99727bbf6288ef.tar.gz
More ocaml parallel make fixes
The previous commit removed a pile of 'test -f' hacks which were sort of working for parallel builds and broke parallel test-suite builds. Now this is fixed properly - these files are safely created in the test-suite already. Now we create them safely in the examples.
Diffstat (limited to 'Examples/ocaml/scoped_enum')
-rw-r--r--Examples/ocaml/scoped_enum/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/ocaml/scoped_enum/Makefile b/Examples/ocaml/scoped_enum/Makefile
index f0f53173f..cfed474ef 100644
--- a/Examples/ocaml/scoped_enum/Makefile
+++ b/Examples/ocaml/scoped_enum/Makefile
@@ -22,6 +22,10 @@ dynamic:
static:
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' SRCS='$(SRCS)' \
SWIG_LIB_DIR='$(SWIG_LIB_DIR)' SWIGEXE='$(SWIGEXE)' \
+ PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
+ ocaml_core
+ $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' SRCS='$(SRCS)' \
+ SWIG_LIB_DIR='$(SWIG_LIB_DIR)' SWIGEXE='$(SWIGEXE)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
ocaml_static_cpp