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

BIN=/$objtype/bin
TARG=tinyrend
OFILES=\
	main.$O\
	nanosec.$O\

LIB=\
	libobj/libobj.a$O\

</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}