shithub: riscv

ref: 614f1d6268fd986fc628eec3754bd4599363ad13
dir: /sys/src/ape/lib/plumb/mkfile/

View raw version
APE=/sys/src/ape
<$APE/config

LIB=/$objtype/lib/ape/libplumb.a

OFILES=\
	event.$O\
	mesg.$O\
	plumbsendtext.$O

HFILES=\
	/sys/include/ape/plumb.h\

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

</sys/src/cmd/mksyslib

CFLAGS=-c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../9

%.$O: /sys/src/libplumb/%.c
	$CC $CFLAGS /sys/src/libplumb/$stem.c