help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make: *** No rule to make target `|', needed by `all'. Stop.


From: John Graham-Cumming
Subject: Re: make: *** No rule to make target `|', needed by `all'. Stop.
Date: Thu, 22 Feb 2007 14:31:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Perrog wrote:
> A = `test .$module = .yes && echo .a || echo .b`

There's no backtick operator in GNU Make.   You should be doing:

    A := $(shell test .$module = .yes && echo .a || echo .b)

John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3ZsvLphrp73n/hARAiFzAJ9D+NK80lxfXb25pwBrwJ527TlW5ACgix1n
iLVsgA4+XCoxZahnqTal5HY=
=Ht0/
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]