diff options
author | mdejong <mdejong> | 2001-11-11 03:16:10 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-11-11 03:16:10 (GMT) |
commit | dc126cb94dc1c1b9f14b7d8217a6f4f4eda653dc (patch) | |
tree | d4f4ba2f3e3c2700639ac8ae68a05e95780863ee /win/Makefile.in | |
parent | 17ce9d477991552109044d738688f3d156f2f609 (diff) | |
download | tcl-dc126cb94dc1c1b9f14b7d8217a6f4f4eda653dc.zip tcl-dc126cb94dc1c1b9f14b7d8217a6f4f4eda653dc.tar.gz tcl-dc126cb94dc1c1b9f14b7d8217a6f4f4eda653dc.tar.bz2 |
* unix/Makefile.in:
* win/Makefile.in: Add "make gdb" target. This target
can run tclsh inside either gdb or insight.
Diffstat (limited to 'win/Makefile.in')
-rw-r--r-- | win/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 583a984..127f9df 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.56 2001/11/08 03:43:47 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.57 2001/11/11 03:16:10 mdejong Exp $ VERSION = @TCL_VERSION@ @@ -549,6 +549,12 @@ shell: $(TCLSH) @TCL_LIBRARY="$(LIBRARY_DIR)"; export TCL_LIBRARY; \ ./$(TCLSH) $(SCRIPT) +# This target can be used to run tclsh inside either gdb or insight +gdb: $(TCLSH) + @echo "set env TCL_LIBRARY=$(LIBRARY_DIR)" > gdb.run + gdb ./tclsh --command=gdb.run + rm gdb.run + depend: Makefile: $(SRC_DIR)/Makefile.in |