[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 07:09:07 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Jari,
* Jari Strand wrote on Sun, Dec 03, 2006 at 08:08:04PM CET:
>
> dnl Check for nasm
> AC_PATH_PROG(NASM_PATH, nasm, no)
> AC_SUBST(NASM_PATH)
> if test x$NASM_PATH = xno; then
> AC_MSG_WARN(Couldn't find nasm)
> HAVE_NASM="no"
> else AC_DEFINE(HAVE_NASM, 1, [Define if NASM, the netwide assembler, is
> available])
> HAVE_NASM="yes"
> fi
>
> AM_CONDITIONAL(HAVE_NASM, test "x$HAVE_NASM" = "xyes")
> And this is what I have in Makefile.am:
>
> ..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 $<
But hard-coding elf and LINUX won't make your package very portable
(in case that's what you're intending).
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 <=
- Message not available
- Re: no rule to make asm targets, Ralf Wildenhues, 2006/12/04
- 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