diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-10-21 10:04:16 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-10-21 10:04:16 +0000 |
commit | b9832ab0f040c81f896efe2046a2232f11ac9d9e (patch) | |
tree | 75cbbc49faba3ae010951436f8733918e4127d58 /Examples/python/import/Makefile | |
parent | b953de63be8ddc507e5e00743a453b5ccc29ace3 (diff) | |
download | swig-b9832ab0f040c81f896efe2046a2232f11ac9d9e.tar.gz |
fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/import/Makefile')
-rw-r--r-- | Examples/python/import/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Examples/python/import/Makefile b/Examples/python/import/Makefile index fa49f3145..4d3f7b5f7 100644 --- a/Examples/python/import/Makefile +++ b/Examples/python/import/Makefile @@ -3,15 +3,17 @@ SWIG = $(TOP)/../preinst-swig SWIGOPT = LIBS = -all:: +all:: + $(CXX) -shared -o cbase.so cbase.cxx + $(CXX) -shared -o cbar.so cbar.cxx $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ - LIBS='$(LIBS)' TARGET='base' INTERFACE='base.i' python_cpp + LIBS='$(LIBS) cbase.so' TARGET='base' INTERFACE='base.i' python_cpp $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ - LIBS='$(LIBS)' TARGET='foo' INTERFACE='foo.i' python_cpp + LIBS='$(LIBS) cbase.so' TARGET='foo' INTERFACE='foo.i' python_cpp $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ - LIBS='$(LIBS)' TARGET='bar' INTERFACE='bar.i' python_cpp + LIBS='$(LIBS) cbase.so cbar.so' TARGET='bar' INTERFACE='bar.i' python_cpp $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ - LIBS='$(LIBS)' TARGET='spam' INTERFACE='spam.i' python_cpp + LIBS='$(LIBS) cbase.so cbar.so' TARGET='spam' INTERFACE='spam.i' python_cpp clean:: |