Added stl example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c4454717c3
commit
7d2accbca7
4 changed files with 68 additions and 0 deletions
28
Examples/ocaml/stl/Makefile
Normal file
28
Examples/ocaml/stl/Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
TOP = ../..
|
||||
SWIG = $(TOP)/../swig -I/usr/include/g++-3
|
||||
SRCS =
|
||||
TARGET = example
|
||||
INTERFACE = example.i
|
||||
PROGFILE = runme.ml
|
||||
|
||||
all default:: static
|
||||
|
||||
static::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
|
||||
ocaml_static_cpp
|
||||
|
||||
director::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
|
||||
ocaml_static_cpp_director
|
||||
|
||||
dynamic::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
|
||||
ocaml_static_cpp
|
||||
|
||||
clean::
|
||||
$(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' ocaml_clean
|
||||
|
||||
check: all
|
||||
Loading…
Add table
Add a link
Reference in a new issue