New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
510e1a61c4
commit
48f16e09fc
4 changed files with 93 additions and 0 deletions
23
SWIG/Examples/GIFPlot/Python/shadow/Makefile
Normal file
23
SWIG/Examples/GIFPlot/Python/shadow/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
TOP = ../../..
|
||||
SWIG = $(TOP)/../swig
|
||||
SWIGOPT = -I../../Interface -shadow
|
||||
SRCS =
|
||||
TARGET = gifplotc
|
||||
INTERFACE = gifplot.i
|
||||
LIBS = -L../.. -lgifplot
|
||||
INCLUDE = -I../../Include
|
||||
|
||||
all::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
|
||||
|
||||
static::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
|
||||
|
||||
clean::
|
||||
rm -f *_wrap* *.o *~ *.so mypython *.pyc .~* core *.gif
|
||||
|
||||
check: all
|
||||
Loading…
Add table
Add a link
Reference in a new issue