Use $(AS) instead of $(CC) to compile .s files.
This commit is contained in:
parent
8295c862dc
commit
1439f72b48
|
@ -79,7 +79,7 @@ OBJS = $(C_SRCS:.c=.o) $(GEN_ASM_SRCS:.s=.o) $(ASM_SRCS:.S=.o) \
|
|||
$(CC) -c $(ALLCFLAGS) -o $*.o $<
|
||||
|
||||
.s.o:
|
||||
$(CC) -c -o $*.o $<
|
||||
$(AS) -o $*.o $<
|
||||
|
||||
.S.o:
|
||||
$(CC) -c -o $*.o $<
|
||||
|
|
Loading…
Reference in New Issue