blob: c56ce215b1c0982b23c54c6a4b4e743c4f586b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
</$objtype/mkfile
BIN=$home/$objtype/bin
TARG=3d
OFILES=\
main.$O\
HFILES=geometry.h graphics.h obj.h dat.h fns.h
LIB=\
libgeometry.a$O\
libgraphics.a$O\
libobj.a$O
</sys/src/cmd/mkone
libgeometry.a$O:
cd libgeometry
mk install
libgraphics.a$O:
cd libgraphics
mk install
libobj.a$O:
cd libobj
mk install
clean nuke:V:
rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
@{cd libgeometry; mk $target}
@{cd libgraphics; mk $target}
@{cd libobj; mk $target}
|