summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-04-05 08:41:59 (GMT)
committerhobbs <hobbs>2002-04-05 08:41:59 (GMT)
commit6dd57e7142ae6cdebc805596f0e7151c14239c54 (patch)
tree55d2f24b7a61bc7feefae76322728eb81bf31788 /win
parent8b6ea440245b624b7909efba55725bcf455950a8 (diff)
downloadtk-6dd57e7142ae6cdebc805596f0e7151c14239c54.zip
tk-6dd57e7142ae6cdebc805596f0e7151c14239c54.tar.gz
tk-6dd57e7142ae6cdebc805596f0e7151c14239c54.tar.bz2
* win/Makefile.in: changed gdb and shell targets to properly build
all binaries before running (otherwise an error often occured).
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 3d1b0da..e2d5ddf 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -4,7 +4,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.48 2002/02/22 02:41:17 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.49 2002/04/05 08:41:59 hobbs Exp $
TCLVERSION = @TCL_VERSION@
VERSION = @TK_VERSION@
@@ -400,14 +400,14 @@ runtest: $(TKTEST)
# This target can be used to run wish from the build directory
# via `make shell` or `make shell SCRIPT=foo.tcl`
-shell: $(WISH)
+shell: binaries
@TCL_LIBRARY="$(TCL_SRC_DIR_NATIVE)/library"; export TCL_LIBRARY; \
TK_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TK_LIBRARY; \
PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \
./$(WISH) $(SCRIPT)
# This target can be used to run wish inside either gdb or insight
-gdb: $(WISH)
+gdb: binaries
@echo "set env TCL_LIBRARY=$(TCL_SRC_DIR_NATIVE)/library" > gdb.run
@echo "set env TK_LIBRARY=$(ROOT_DIR_NATIVE)/library" >> gdb.run
PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \