shithub: riscv

ref: 23d5a950c92dfbcf26b069059712fa282255a8ac
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