tk:
cd src/tk && $(MAKE) MAKEFLAGS=
-tclx:
+tclx: tcl tk
cd src/tclx && $(MAKE) MAKEFLAGS=
-sim:
+sim: tclx
cd src/sim && $(MAKE) MAKEFLAGS=
clean:
wish: TKX_MAKES runwish
-TKX_MAKES: libtk.a
+TKX_MAKES: libtk.a tcl
cd tkucbsrc; $(MAKE) -$(MAKEFLAGS) all
cd tksrc; $(MAKE) -$(MAKEFLAGS) all
# Also generate a script to point the TCLDEFAULT environment variable
# at this file for testing Tcl before its installed.
-tcldef:
+tcldef: tcl
@echo " - Generating temporary TCLDEFAULT file. -"
@echo " - Use runtcl script to test Tcl before installing -"
@echo " - Use runwish script to test Tk before installing -"
@echo "set TCLPATH `pwd`/tcllib" >>tcldef
@echo "set TCLINIT `pwd`/tcllib/tclinit.tcl" >>tcldef
-runtcl:
+runtcl: tcldef
@echo ':' >runtcl
@echo '# script for testing Tcl before installation' >>runtcl
@echo "TCLDEFAULT=`pwd`/tcldef" >>runtcl