libmp: fix build for spim, reduce by the mips assembly files
This commit is contained in:
parent
0ac4a447b0
commit
1069d018c9
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ FILES=\
|
||||||
|
|
||||||
ALLOFILES=${FILES:%=%.$O}
|
ALLOFILES=${FILES:%=%.$O}
|
||||||
# cull things in the per-machine directories from this list
|
# 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=\
|
HFILES=\
|
||||||
/$objtype/include/u.h\
|
/$objtype/include/u.h\
|
||||||
|
|
Loading…
Reference in a new issue