Tcl examples now run during 'make check' and makefile tidyup.

This commit is contained in:
William S Fulton 2013-04-13 23:33:19 +01:00
commit 3489d0db32
16 changed files with 96 additions and 74 deletions

View file

@ -5,15 +5,16 @@ TARGET = my_tclsh
DLTARGET = example
INTERFACE = example.i
all::
check: build
$(MAKE) -f $(TOP)/Makefile tcl_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
static::
static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
clean::
clean:
$(MAKE) -f $(TOP)/Makefile tcl_clean
check: all