[Flac-dev] Re: beta 10 candidate checked in
Christian Weisgerber
naddy at mips.inka.de
Sat Jun 9 12:54:45 PDT 2001
Matt Zimmerman <mdz at debian.org> wrote:
> > > .SUFFIXES: .lo .s
> > > .s.lo:
> >
> > (This of course doesn't work with automake.)
>
> It doesn't? Anything in a Makefile.am that doesn't appear to be special
> automake magic is passed through to the Makefile (via Makefile.in).
Yes, but... Hey, you're right.
I thought I had seen automake insert its own .s.lo rule anyway,
with both rules ending up in the result, but apparently I've been
mistaken. Sorry for the confusion. :-(
Indeed, this works:
--- src/libFLAC/i386/Makefile.am.orig Sat Jun 9 21:48:49 2001
+++ src/libFLAC/i386/Makefile.am Sat Jun 9 21:49:05 2001
@@ -1,5 +1,6 @@
# nasm build rule:
-%.lo: %.s
+SUFFIXES = .s .lo
+.s.lo:
$(NASM) -f elf -d ELF $< -o $@
noinst_LTLIBRARIES = libFLAC-asm.la
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the Flac-dev
mailing list