shithub: riscv

ref: 7ad89bd1b00bcd392fa107f65960e23ba1bec7ee
dir: /sys/src/ape/lib/mp/spim/mkfile/

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

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

SFILES=\
	mpvecadd.s\
	mpvecsub.s\
	mpvecdigmuladd.s\
	mpvecdigmulsub.s\
#	mpdigdiv.s\

HFILES=\
	/sys/include/ape/mp.h\
	../../../../libmp/port/dat.h

OFILES=${SFILES:%.s=%.$O}

UPDATE=mkfile\
	$HFILES\
	$SFILES\

</sys/src/cmd/mksyslib

%.$O:	../../../../libmp/mips/%.s
	$AS ../../../../libmp/mips/$stem.s