Missed -c in IRIX rules.
[openssl.git] / crypto / bn / Makefile
index 7f7b3a0bfbab36bf2384186049b76b1cc5ab913a..4afb6a393c962d9a7053649e63b09e013e92ec88 100644 (file)
@@ -83,11 +83,11 @@ sparcv8.o:  asm/sparcv8.S
 sparcv8plus.o: asm/sparcv8plus.S
        $(CC) $(CFLAGS) -c asm/sparcv8plus.S
 
-bn-mips3.s:    asm/mips3.s
+bn-mips3.o:    asm/mips3.s
        @if [ "$(CC)" = "gcc" ]; then \
                ABI=`expr "$(CFLAGS)" : ".*-mabi=\([n3264]*\)"` && \
                as -$$ABI -O -o $@ asm/mips3.s; \
-       else    $(CC) $(CFLAGS) -o $@ asm/mips3.s; fi
+       else    $(CC) -c $(CFLAGS) -o $@ asm/mips3.s; fi
 
 x86_64-gcc.o:  asm/x86_64-gcc.c
        $(CC) $(CFLAGS) -c -o $@ asm/x86_64-gcc.c