Sigrid Solveig Haflínudóttirmkfile: add "deps" rule to install 3rd party stuff21df0465 years agoHistory
55 lines · 755 B · Makefile
RawDownload
</$objtype/mkfile BIN=/$objtype/binTARG=pdffsPDIR=`{pwd} OFILES=\	array.$O\	buffer.$O\	dict.$O\	eval.$O\	f_ascii85.$O\	f_asciihex.$O\	f_ccittfax.$O\	f_crypt.$O\	f_dct.$O\	f_flate.$O\	f_jbig2.$O\	f_jpx.$O\	f_lzw.$O\	f_runlength.$O\	filter.$O\	main.$O\	misc.$O\	name.$O\	object.$O\	op.$O\	pdf.$O\	pdffs.$O\	predict.$O\	stream.$O\	string.$O\	xref.$O\ HFILES=\	pdf.h\ UPDATE=\	$HFILES\	${OFILES:%.$O=%.c}\	mkfile\ default:V: all deps:V:	mkdir -p $PDIR/deps	cd $PDIR/deps	test -d jbig2 || git/clone https://git.sr.ht/~ft/jbig2	cd jbig2 && git/pull && mk install && mk clean	cd $PDIR/deps	test -d jp2 || git/clone https://git.sr.ht/~ft/jp2	cd jp2 && git/pull && mk install && mk clean	cd $PDIR </sys/src/cmd/mkone

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t