Tcl examples now run during 'make check' and makefile tidyup.
This commit is contained in:
parent
bdf38a8507
commit
3489d0db32
16 changed files with 96 additions and 74 deletions
|
|
@ -110,6 +110,7 @@ TCL_DLNK = @TCLDYNAMICLINKING@
|
|||
TCL_SO = @TCL_SO@
|
||||
TCLLDSHARED = @TCLLDSHARED@
|
||||
TCLCXXSHARED = @TCLCXXSHARED@
|
||||
TCL_SCRIPT = $(RUNME).tcl
|
||||
|
||||
# -----------------------------------------------------------
|
||||
# Build a new version of the tclsh shell
|
||||
|
|
@ -159,6 +160,13 @@ tcl_cpp: $(SRCS)
|
|||
$(CXX) -c $(CCSHARED) $(CFLAGS) $(SRCS) $(CXXSRCS) $(ICXXSRCS) $(INCLUDES) $(TCL_INCLUDE)
|
||||
$(TCLCXXSHARED) $(CFLAGS) $(OBJS) $(IOBJS) $(TCL_DLNK) $(LIBS) $(CPP_DLLIBS) -o $(LIBPREFIX)$(TARGET)$(TCL_SO)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Run Tcl example
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
tcl_run:
|
||||
$(RUNTOOL) $(TCLSH) $(TCL_SCRIPT) $(RUNPIPE)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Version display
|
||||
# -----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue