shithub: riscv

ref: fe53c0930e8595a2e8b5aa71e907a1f2bec6059b
dir: /sys/src/libString/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libString.a

OFILES=\
	s_alloc.$O\
	s_append.$O\
	s_array.$O\
	s_copy.$O\
	s_getline.$O\
	s_grow.$O\
	s_memappend.$O\
	s_nappend.$O\
	s_parse.$O\
	s_putc.$O\
	s_rdinstack.$O\
	s_read.$O\
	s_read_line.$O\
	s_reset.$O\
	s_terminate.$O\
	s_tolower.$O\
	s_unique.$O\

HFILES=/sys/include/String.h

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${LIB:/$objtype/%=/386/%}\

</sys/src/cmd/mksyslib