diff options
Diffstat (limited to 'Examples/tcl/contract/Makefile')
| -rw-r--r-- | Examples/tcl/contract/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Examples/tcl/contract/Makefile b/Examples/tcl/contract/Makefile new file mode 100644 index 0000000..91a139a --- /dev/null +++ b/Examples/tcl/contract/Makefile @@ -0,0 +1,20 @@ +TOP = ../.. +SWIG = $(TOP)/../preinst-swig +SRCS = example.c +TARGET = my_tclsh +DLTARGET = example +INTERFACE = example.i +SWIGOPT = + +all:: + $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ + TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl + +static:: + $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ + TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh + +clean:: + $(MAKE) -f $(TOP)/Makefile tcl_clean + +check: all |
