new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9e68d28c9f
commit
2e0ddb2cb4
4 changed files with 93 additions and 0 deletions
23
SWIG/Examples/GIFPlot/Perl/shadow/Makefile
Normal file
23
SWIG/Examples/GIFPlot/Perl/shadow/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
TOP = ../../..
|
||||
SWIG = $(TOP)/../swig
|
||||
SWIGOPT = -I../../Interface -shadow
|
||||
SRCS =
|
||||
TARGET = gifplot
|
||||
INTERFACE = gifplot.i
|
||||
LIBS = -L../.. -lgifplot -lm
|
||||
INCLUDE = -I../../Include
|
||||
|
||||
all::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' perl5
|
||||
|
||||
static::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_static
|
||||
|
||||
clean::
|
||||
rm -f *_wrap* *.o *~ *.so myperl *.pm .~* core *.gif
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue