shithub: purgatorio

ref: 249dc0489c7b24371e1f829e9c849fa7464f6c0c
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