code: 9ferno

ref: b0c5d15dfeaf7e9fe1ad4086c40d51d070ae0323
dir: /utils/rcsh/mkfile/

View raw version
<../../mkconfig

#
#	this directory contains a stripped-down version of rc
#	it is only build for Windows Nt and Windows 95

TARG=rcsh

OFILES=	code.$O\
	exec.$O\
	glob.$O\
	here.$O\
	io.$O\
	lex.$O\
	main.$O\
	$TARGMODEL.$O\
	pcmd.$O\
	pfnc.$O\
	simple.$O\
	trap.$O\
	tree.$O\
	var.$O\
	word.$O\
	y.tab.$O\

HFILES=	rc.h\
	y.tab.h\

YFILES=	syn.y

LIBS=9

BIN=$SRC/$OBJDIR/bin

<$SRC/mkfiles/mkone-$SHELLTYPE

CFLAGS=	$CFLAGS '-DSRC="'$SRC'"'

$BIN/%:Q:	$O.out
	echo $TARG must be installed manually on Windows systems
	echo use: cp $O.out $target
	cp $O.out $target

install:V:	$SRC/utils/lib/rcmain

$SRC/utils/lib/rcmain:Q:	rcmain
	echo $prereq must be installed manually on Windows systems
	echo use: cp $prereq $target
	cp $prereq $target

Posix.c Inferno.c:QV:
	echo $TARG is only built on Windows NT or Windows 95
	exit 1