swig/Examples/tcl/reference/Makefile
Dave Beazley e9aeb0c698 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 20:21:03 +00:00

19 lines
466 B
Makefile

TOP = ../..
SWIG = $(TOP)/../swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i
LIBS = -lm
all::
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tcl_cpp
static::
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='mytclsh' INTERFACE='$(INTERFACE)' tclsh_cpp_static
clean::
rm -f *_wrap* *.o *~ *.so mytclsh *.pyc .~* core
check: all