Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Henning Makholm <henning@makholm.net>
To: Riley Williams <rhw@InfraDead.Org>
Cc: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>,
	bug-make@gnu.org, Linux Ham Radio <linux-hams@vger.kernel.org>
Subject: Re: make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem
Date: 24 Jun 2002 14:07:34 +0200	[thread overview]
Message-ID: <yahptyglw1l.fsf@pc-043.diku.dk> (raw)
In-Reply-To: Riley Williams's message of "Sun, 23 Jun 2002 00:01:54 +0100 (BST)"

Scripsit Riley Williams <rhw@InfraDead.Org>

> Linux-Hams package is inherently Linux specific, GNU make is the only
> version of make used with Linux (as far as I have seen anyway), and GNU
> make (in all versions I have met) correctly expands $(...) as a single
> token wherever it is met.

No it doesn't. If it did, it idiomatic rules such as

binary: $(OBJS)
	$(CC) -o $< $(OBJS)

would not work.


It is even easy to check this:

pc-043:~/foo$ cat Makefile
foo = a b
bar:
        ./echonum $(foo) stop
pc-043:~/foo$ cat echonum
#! /bin/sh
while true ; do
  echo $1
  [ "$1" = stop ] && exit 0 ;
  shift
done
pc-043:~/foo$ gmake bar
./echonum a b stop
a
b
stop
pc-043:~/foo$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

pc-043:~/foo$ 

-- 
Henning Makholm        "Hvorfor skulle jeg tale som en slave og en tåbe? Jeg
                ønsker ikke, at han skal leve evigt, og jeg ved, at han ikke
               kommer til at leve evigt, uanset om jeg ønsker det eller ej."
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2002-06-24 12:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22  6:57 make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem Adam J. Richter
2002-06-22 13:51 ` Henning Makholm
2002-06-22 20:23   ` Riley Williams
2002-06-22 21:24     ` Kai Germaschewski
2002-06-22 23:01       ` Riley Williams
2002-06-24 12:07         ` Henning Makholm [this message]
2002-06-25  4:23         ` Paul D. Smith
2002-06-24 12:00     ` Henning Makholm
2002-06-24 15:33 ` [PATCH] " Thomas Sailer
  -- strict thread matches above, loose matches on Subject: below --
2002-06-22 21:56 Adam J. Richter
2002-06-24 12:13 ` Henning Makholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yahptyglw1l.fsf@pc-043.diku.dk \
    --to=henning@makholm.net \
    --cc=bug-make@gnu.org \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-hams@vger.kernel.org \
    --cc=rhw@InfraDead.Org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox