summaryrefslogtreecommitdiff
path: root/Examples/tcl/std_vector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/tcl/std_vector/Makefile')
-rw-r--r--Examples/tcl/std_vector/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Examples/tcl/std_vector/Makefile b/Examples/tcl/std_vector/Makefile
new file mode 100644
index 000000000..ce6a3c7ce
--- /dev/null
+++ b/Examples/tcl/std_vector/Makefile
@@ -0,0 +1,20 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-swig
+CXXSRCS =
+TARGET = my_tclsh
+DLTARGET = example
+INTERFACE = example.i
+LIBS = -lm
+
+all::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl_cpp
+
+static::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh_cpp_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile tcl_clean
+
+check: all