diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-15 22:45:01 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-19 22:47:28 +0100 |
commit | 280cd16b7eaad1b22dedf0e36912e7b8803e69ab (patch) | |
tree | e1fce77c37e21d9b3bc739fecc4b0c2d9144269f /Examples/ocaml/std_string | |
parent | 238554fe618624b24d2422e80e9de512ec57c497 (diff) | |
download | swig-280cd16b7eaad1b22dedf0e36912e7b8803e69ab.tar.gz |
Ocaml example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested.
Diffstat (limited to 'Examples/ocaml/std_string')
-rw-r--r-- | Examples/ocaml/std_string/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Examples/ocaml/std_string/Makefile b/Examples/ocaml/std_string/Makefile index e5a8017ae..0250cfd2d 100644 --- a/Examples/ocaml/std_string/Makefile +++ b/Examples/ocaml/std_string/Makefile @@ -5,19 +5,20 @@ TARGET = example INTERFACE = example.i PROGFILE = runme.ml -all default:: static +check: build + $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' ocaml_run -static:: +build: static + +static: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \ ocaml_static_cpp -dynamic:: +dynamic: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \ ocaml_dynamic_cpp -clean:: +clean: $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' ocaml_clean - -check: all |