shithub: riscv

ref: 1b09060f468f530af2f4ef75441a40084e912e54
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