aboutsummaryrefslogtreecommitdiff
path: root/Examples/perl5/pointer/Makefile
blob: e5944f9af03ec5ad6ce296b8dc98c19697fae134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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