shithub: riscv

ref: ff4daa7e93f4ea09506276ecdb69fa1cca19a7a7
dir: /sys/src/cmd/pkg/mkfile/

View raw version
</$objtype/mkfile

all: $O.unpkg
	echo

$O.unpkg: unpkg.c
	$CC unpkg.c
	$LD -o $O.unpkg unpkg.$O

install:V: $O.unpkg
	mkdir -p /$objtype/bin/pkg
	cp $O.unpkg /$objtype/bin/pkg/unpkg
	cp create install list local remove /$objtype/bin/pkg

clean:
	rm -f $O.unpkg *.$O

nuke: clean
	rm -f /$objtype/bin/pkg/*