X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Robert Riebisch (Robert DOT Riebisch AT arcor DOT de) [via djgpp AT delorie DOT com]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Obscure (?) Makefile syntax Date: Sun, 13 Mar 2022 19:29:36 +0100 Organization: none Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Sun, 13 Mar 2022 18:29:36 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="1018bd579fc72e6db1d6ecac86d6b0f9"; logging-data="19822"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX1/0CblxsjiFZ7w/9Ll66hJF" Cancel-Lock: sha1:TC/4f/JS1EfbBUBAMejVeVvJ37E= In-Reply-To: Bytes: 1325 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Robert Riebisch wrote: > In a Makefile I found this line: > copy /B $(DJGPP:\DJGPP.ENV=)\bin\pmodstub.exe+a foo.exe > > This fails with 'Path not found' on my Windows XP system, because it > resolves to: > copy /B c:\djgpp\djgpp.env\bin\pmodstub.exe+a foo.exe > > That 'djgpp.env\' is the culprit. I forgot: My system has DJGPP=c:\DJGPP\djgpp.env -- Robert Riebisch