summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-04-05 08:41:59 (GMT)
committerhobbs <hobbs>2002-04-05 08:41:59 (GMT)
commit418747a5b52e2e7ce5996ae49861c7904bc77197 (patch)
tree55d2f24b7a61bc7feefae76322728eb81bf31788
parentfc0fdf9ceee035287048fff5625d07137bae120e (diff)
downloadtk-418747a5b52e2e7ce5996ae49861c7904bc77197.zip
tk-418747a5b52e2e7ce5996ae49861c7904bc77197.tar.gz
tk-418747a5b52e2e7ce5996ae49861c7904bc77197.tar.bz2
* win/Makefile.in: changed gdb and shell targets to properly build
all binaries before running (otherwise an error often occured).
-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; \