code: 9ferno

ref: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
dir: /utils/cp/mkfile/

View raw version
<../../mkconfig

TARG=cp

OFILES=	cp.$O\

HFILES= 

LIBS=9

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

#
#	override install so that cp doesn't try to copy onto itself
#

$BIN/%:	$O.out
	cp $target cpx.exe
	./cpx $O.out $target
	rm cpx.exe