diff options
| author | Mark Rose <mrose@stm.lbl.gov> | 2003-03-07 10:26:56 +0000 |
|---|---|---|
| committer | Mark Rose <mrose@stm.lbl.gov> | 2003-03-07 10:26:56 +0000 |
| commit | 8db3f9e8dfc2ca25464d4d72727757690c681197 (patch) | |
| tree | 31d57dc96da1086cc063cd5142ba0756cb0be448 /Examples/python/callback/Makefile | |
| parent | c8b971fd33d82129cee5810929c532ec92f2124a (diff) | |
| download | swig-8db3f9e8dfc2ca25464d4d72727757690c681197.tar.gz | |
two director examples for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/callback/Makefile')
| -rw-r--r-- | Examples/python/callback/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Examples/python/callback/Makefile b/Examples/python/callback/Makefile new file mode 100644 index 000000000..2906b3d74 --- /dev/null +++ b/Examples/python/callback/Makefile @@ -0,0 +1,22 @@ +TOP = ../.. +SWIG = $(TOP)/../swig +CXXSRCS = example.cxx +TARGET = example +INTERFACE = example.i +LIBS = -lm +SWIGOPT = +SWIGLIB = SWIG_LIB=/b/mrose/projects/swig/SWIG/Lib + +all:: + $(MAKE) -f $(TOP)/Makefile $(SWIGLIB) CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp + +static:: + $(MAKE) -f $(TOP)/Makefile $(SWIGLIB) CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static + +clean:: + $(MAKE) -f $(TOP)/Makefile python_clean + rm -f $(TARGET).py + +check: all |
