delorie.com/archives/browse.cgi | search |
From: | pderbysh AT o DOT net (SpamKiLr) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Bug in Make? Completely incorrect behavior. |
Organization: | Spam Haters Anonymous, insert the three letter name of the country south of Canada and a dot before "net" to unmunge. |
Message-ID: | <387da28d.119137562@news.globalserve.net> |
References: | <387bc68e DOT 493166929 AT news DOT globalserve DOT net> <Pine DOT SUN DOT 3 DOT 91 DOT 1000112090212 DOT 28074P-100000 AT is> <387c53ff DOT 34216248 AT news DOT globalserve DOT net> <Pine DOT SUN DOT 3 DOT 91 DOT 1000112154552 DOT 258B-100000 AT is> <387cbecb DOT 61560172 AT news DOT globalserve DOT net> <Pine DOT SUN DOT 3 DOT 91 DOT 1000113093433 DOT 9693L-100000 AT is> |
X-Newsreader: | Forte Free Agent 1.11/32.235 |
Lines: | 26 |
Date: | Thu, 13 Jan 2000 10:04:11 GMT |
NNTP-Posting-Host: | 207.176.153.67 |
X-Complaints-To: | news AT primus DOT ca |
X-Trace: | news2.tor.primus.ca 947757861 207.176.153.67 (Thu, 13 Jan 2000 05:04:21 EST) |
NNTP-Posting-Date: | Thu, 13 Jan 2000 05:04:21 EST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>> $(DOCTARGETFILE): $(DOCSOURCEFILES) \ >See that trailing backslash at the end of the first line? What it >does is effectively splice the target dependency with the command to >run for that target. Make complains about multiple target pattern >because $(JAVAURL) includes a colon (it expands to "http://..."). So >what Make sees is something like this: > > foo: bar baz some: more > >Because of the colon, this indeed looks like more than one target is >described on a single dependency line: the first target is `foo', the >other is `some'. And Make is too dumb to catch the *real* problem. ARGH. That explains it. It must have crept in when I split the long command line to be viewable at 78 columns originally. Yup, it works now. Thanks. >>[News client splitting lines at 60 columns] >Thank you! This time, I didn't need to edit the file at all. Now later I will be seeing if I can set it to something reasonable like 78 columns. :-)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |