aboutsummaryrefslogtreecommitdiff
path: root/mkfile
blob: 5c8fdf62bbf6358959fef02d9ccb4a2dc634c378 (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
</$objtype/mkfile

BIN=/$objtype/bin/games
TARG=physics
OFILES=\
	alloc.$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}