swig/Examples/tcl/reference/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
462 B
Makefile

TOP = ../..
SWIG = $(TOP)/../preinst-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::
$(MAKE) -f $(TOP)/Makefile tcl_clean
check: all