shithub: riscv

ref: 34a9d22ec6c680b2ed871defce357e5650aa0629
dir: /sys/src/libmp/spim/mkfile/

View raw version
objtype=spim
</$objtype/mkfile

LIB=/$objtype/lib/libmp.a
SFILES=\
	mpvecadd.s\
	mpvecsub.s\
	mpvecdigmuladd.s\
	mpvecdigmulsub.s\
#	mpdigdiv.s\

HFILES=/$objtype/include/u.h /sys/include/mp.h ../port/dat.h

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

%.$O:	../mips/%.s
	$AS -I../mips $AFLAGS ../mips/$stem.s

</sys/src/cmd/mksyslib