]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/pkg/mkfile
9bootfat: rename open() to fileinit and make it static as its really a internal funct...
[plan9front.git] / sys / src / cmd / pkg / mkfile
1 </$objtype/mkfile
2
3 all: $O.unpkg
4         echo
5
6 $O.unpkg: unpkg.c
7         $CC unpkg.c
8         $LD -o $O.unpkg unpkg.$O
9
10 install:V: $O.unpkg
11         mkdir -p /$objtype/bin/pkg
12         cp $O.unpkg /$objtype/bin/pkg/unpkg
13         cp create install list remove /$objtype/bin/pkg
14
15 clean:
16         rm -f $O.unpkg *.$O
17
18 nuke: clean
19         rm -f /$objtype/bin/pkg/*
20