diff options
author | ru <ru@FreeBSD.org> | 2003-07-02 17:03:28 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-07-02 17:03:28 +0000 |
commit | 8a923fea135a8359584d0d3b3b89612258ab7f52 (patch) | |
tree | d0041292561f0e2fc7fee5946a7929afd2e48cad /share/mk/sys.mk | |
parent | 3ea8afd622c048c866e3af5dd51c4c11d73a0db9 (diff) | |
download | FreeBSD-src-8a923fea135a8359584d0d3b3b89612258ab7f52.zip FreeBSD-src-8a923fea135a8359584d0d3b3b89612258ab7f52.tar.gz |
Don't trust sys.mk,v 1.61 commit log, and make .asm alias for .S.
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r-- | share/mk/sys.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 219ab7a..f2ae1cd 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -16,7 +16,7 @@ unix ?= We run FreeBSD, not UNIX. .if defined(%POSIX) .SUFFIXES: .o .c .y .l .a .sh .f .else -.SUFFIXES: .out .a .ln .o .c .cc .cpp .cxx .C .m .F .f .e .r .y .l .S .s .asm .cl .p .h .sh +.SUFFIXES: .out .a .ln .o .c .cc .cpp .cxx .C .m .F .f .e .r .y .l .S .asm .s .cl .p .h .sh .endif .LIBS: .a @@ -208,7 +208,10 @@ MACHINE_ARCH ?= i386 .S.o: ${CC} ${CFLAGS} -c ${.IMPSRC} -.s.o .asm.o: +.asm.o: + ${CC} -x assembler-with-cpp ${CFLAGS} -c ${.IMPSRC} + +.s.o: ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC} # XXX not -j safe |