shithub: riscv

ref: 6c5e9f73197f0e6bfc59119541312a1d281133b2
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