shithub: purgatorio

ref: 8a788aea84aad3bfbd5b39d78c1925654f3b9e14
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