blob: 2b07c9307bf516255f61b27023361f6af413b5a0 (
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
|
</$objtype/mkfile
BIN=/$objtype/bin/games
TARG=physics
OFILES=\
alloc.$O\
stats.$O\
physics.$O\
sprite.$O\
main.$O\
HFILES=\
dat.h\
fns.h\
libgeometry/geometry.h\
LIB=\
libgeometry/libgeometry.a$O\
CFLAGS=$CFLAGS -Ilibgeometry
</sys/src/cmd/mkone
libgeometry/libgeometry.a$O:
cd libgeometry
mk install
clean nuke:V:
rm -f *.[$OS] [$OS].??* $TARG
@{cd libgeometry; mk $target}
|