Add .S to SUFFIXES and add .S.o: rule.
Submitted by: bde
This commit is contained in:
parent
7216391e49
commit
ea56956912
@ -1,9 +1,9 @@
|
||||
# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94
|
||||
# $Id: sys.mk,v 1.5 1994/09/04 02:52:27 jkh Exp $
|
||||
# $Id: sys.mk,v 1.6 1994/09/07 06:52:25 rgrimes Exp $
|
||||
|
||||
unix ?= We run FreeBSD, not UNIX.
|
||||
|
||||
.SUFFIXES: .out .a .ln .o .c .cc .cxx .C .F .f .e .r .y .l .s .cl .p .h
|
||||
.SUFFIXES: .out .a .ln .o .c .cc .cxx .C .F .f .e .r .y .l .S .s .cl .p .h
|
||||
|
||||
.LIBS: .a
|
||||
|
||||
@ -86,6 +86,9 @@ YFLAGS ?= -d
|
||||
.e.o .r.o .F.o .f.o:
|
||||
${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} -c ${.IMPSRC}
|
||||
|
||||
.S.o:
|
||||
${CC} ${CFLAGS} -c ${.IMPSRC}
|
||||
|
||||
.s.o:
|
||||
${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user