[Flac-dev] Re: beta 10 candidate checked in
Christian Weisgerber
naddy at mips.inka.de
Thu Jun 7 11:49:29 PDT 2001
Josh Coalson <xflac at yahoo.com> wrote:
> .s.lo:
> $(LIBTOOL) --mode=compile $(COMPILE) -c $<
>
> it doesn't look like there's a provision for compiling .s files
> with a different program than .c files, or even different flags.
Explicit rules override suffix rules. It's not elegant, but we
could just write down the individual rules:
--- src/libFLAC/i386/Makefile.am.orig Thu Jun 7 20:39:34 2001
+++ src/libFLAC/i386/Makefile.am Thu Jun 7 20:40:18 2001
@@ -1,7 +1,13 @@
# nasm build rule:
-%.lo: %.s
- $(NASM) -f elf -d ELF $< -o $@
+cpu_asm.lo: cpu_asm.s
+ $(NASM) -f elf -d ELF $? -o $@
+fixed_asm.lo: fixed_asm.s
+ $(NASM) -f elf -d ELF $? -o $@
+
+lpc_asm.lo: lpc_asm.s
+ $(NASM) -f elf -d ELF $? -o $@
+
noinst_LTLIBRARIES = libFLAC-asm.la
libFLAC_asm_la_SOURCES = \
cpu_asm.s \
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the Flac-dev
mailing list