summaryrefslogtreecommitdiff
path: root/mkfile
blob: ffb6c390fb7f091d27c64bf260adc776923ef10f (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
</$objtype/mkfile

BIN=/$objtype/bin
TARG=tinyrend
OFILES=\
	main.$O\
	nanosec.$O\
	alloc.$O\
	fb.$O\
	shadeop.$O\
	util.$O\

LIB=\
	libobj/libobj.a$O\

HFILES=dat.h fns.h

</sys/src/cmd/mkone

libobj/libobj.a$O:
	cd libobj
	mk install

pulldeps:VQ:
	git/clone git://antares-labs.eu/libobj || \
	git/clone git://shithub.us/rodri/libobj || \
	git/clone https://github.com/sametsisartenep/libobj

clean nuke:V:
	rm -f *.[$OS] [$OS].out $TARG
	@{cd libobj; mk $target}