swig/Examples/tcl/value/Makefile
Dave Beazley 794ff1ed6c New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:07:07 +00:00

19 lines
446 B
Makefile

TOP = ../..
SWIG = $(TOP)/../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::
rm -f *_wrap* *.o my_tclsh *~ .~* core *.so *.sl
check: all