blob: ed4d89f5213f273b9e62524af5995b9a6d452a19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS =
TARGET = my_tclsh
DLTARGET = example
INTERFACE = example.i
check: build
$(MAKE) -f $(TOP)/Makefile tcl_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
clean:
$(MAKE) -f $(TOP)/Makefile tcl_clean
|