Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/cmd/tcl/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


APE=/sys/src/ape
<$APE/config

BIN=/$objtype/bin
TARG=tclsh

OFILES=tclAppInit.$O
LIB=libtcl.a$O
HFILES=plan9/tclConfig.h
CLEANFILES=$LIB
</sys/src/cmd/mkone
CFLAGS=-FVp -c -Iplan9 -Igeneric -Iunix -Ilibtommath -DHAVE_TCL_CONFIG_H -DPLAN9

$O.out: $OFILES $LIB
	$LD $LDFLAGS -o $target $prereq

$LIB:V:
	mk $MKFLAGS -f mkfile.lib

tclAppInit.$O: unix/tclAppInit.c
	$CC $CFLAGS unix/tclAppInit.c

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].