swig/Examples/tcl/pointer/Makefile
Marcelo Matus cb6a1f4ff2 fix examples to use preinst-swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:05:49 +00:00

19 lines
442 B
Makefile

TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = my_tclsh
DLTARGET = example
INTERFACE = example.i
all::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
static::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
clean::
$(MAKE) -f $(TOP)/Makefile tcl_clean
check: all