swig/Examples/perl5/funcptr/Makefile
Dave Beazley 40fe9281c6 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:43:52 +00:00

18 lines
477 B
Makefile

TOP = ../..
SWIG = $(TOP)/../swig
SRCS = example.c
TARGET = example
INTERFACE = example.i
SWIGOPT =
all::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' perl5
static::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_static
clean::
rm -f *_wrap* *.o core *~ *.so *.pm myperl
check: all