summaryrefslogtreecommitdiff
path: root/Examples/tcl/simple/Makefile
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>2000-01-12 03:21:25 +0000
committerDave Beazley <dave-swig@dabeaz.com>2000-01-12 03:21:25 +0000
commit63880a6e34c1c1f8c7e0850fe248f89042c3d22c (patch)
tree45c9513df85d76b4c46b62beaf60745c1d282150 /Examples/tcl/simple/Makefile
parentad3d48ca1527b066d048c980d10f24448a5161a1 (diff)
downloadswig-63880a6e34c1c1f8c7e0850fe248f89042c3d22c.tar.gz
*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@50 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/tcl/simple/Makefile')
-rw-r--r--Examples/tcl/simple/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Examples/tcl/simple/Makefile b/Examples/tcl/simple/Makefile
new file mode 100644
index 000000000..afeb32c2f
--- /dev/null
+++ b/Examples/tcl/simple/Makefile
@@ -0,0 +1,28 @@
+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)' tcldl
+
+tcl8::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='-tcl8' TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcldl
+
+static::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
+
+static8::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='-tcl8' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
+
+
+clean::
+ rm -f *_wrap* *.o my_tclsh *~ .~* core *.so *.sl
+
+