[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no rule to make asm targets
From: |
Ralf Wildenhues |
Subject: |
Re: no rule to make asm targets |
Date: |
Mon, 4 Dec 2006 14:19:35 +0100 |
User-agent: |
Mutt/1.5.13 (2006-11-01) |
Hello Jari,
Please keep the mailing list in Cc:. Thanks.
* Jari Strand wrote on Mon, Dec 04, 2006 at 02:09:10PM CET:
> >From: Ralf Wildenhues <address@hidden>
> >* Jari Strand wrote on Sun, Dec 03, 2006 at 08:08:04PM CET:
> >>
> >> ..asm.o:
> >
> >This line should be (minus the indentation):
> > .asm.o:
> >> nasm -o $@ -f elf -dLINUX $<
> >
> >If you do the effort of defining NASM_PATH above, then you should use it
> >here, no?
> > $(NASM_PATH) -o $@ -f elf -dLINUX $<
> >
>
> Are you saying that there should be no identation after the
> .asm.o: line?
No. The error you made was the doubled period. Instead of writing
this:
..asm.o:
$(NASM_PATH) -o $@ -f elf -dLINUX $<
You should be writing this:
.asm.o:
$(NASM_PATH) -o $@ -f elf -dLINUX $<
(I was merely trying to point out that my post contained indentation).
And it seems I forgot to add that you need to set the suffixes list.
In a plain Makefile, you'd do that with this line:
.SUFFIXES: .asm .o
In a Makefile.am, you instead write this:
SUFFIXES = .asm .o
This helps automake detect the list of suffixes; it will then set it
correctly for make.
Hope that helps.
Cheers,
Ralf
- no rule to make asm targets, Jari Strand, 2006/12/03
- Re: no rule to make asm targets, Ralf Wildenhues, 2006/12/04
- Message not available
- Re: no rule to make asm targets,
Ralf Wildenhues <=
- Re: no rule to make asm targets, Stepan Kasal, 2006/12/04
- Message not available
- Re: no rule to make asm targets, Ralf Wildenhues, 2006/12/05
- Re: no rule to make asm targets, Jari Strand, 2006/12/05
- Re: no rule to make asm targets, Stepan Kasal, 2006/12/05
- Re: no rule to make asm targets, Jari Strand, 2006/12/05
- Re: no rule to make asm targets, Stepan Kasal, 2006/12/06
- Re: no rule to make asm targets, Jari Strand, 2006/12/06
- Re: no rule to make asm targets, Jari Strand, 2006/12/08
- Re: no rule to make asm targets, Stepan Kasal, 2006/12/08