libmp: fix build for spim, reduce by the mips assembly files

This commit is contained in:
cinap_lenrek 2016-04-10 20:20:53 +02:00
parent 0ac4a447b0
commit 1069d018c9

View file

@ -45,7 +45,9 @@ FILES=\
ALLOFILES=${FILES:%=%.$O}
# cull things in the per-machine directories from this list
OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
OFILES= `{rfork e; \
if(~ $objtype spim) objtype=mips; \
rc ./reduce $O $objtype $ALLOFILES}
HFILES=\
/$objtype/include/u.h\