X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:a05:6000:18ae:b0:1f1:f7f8:5a4d with SMTP id b14-20020a05600018ae00b001f1f7f85a4dmr13883950wri.43.1647198606711; Sun, 13 Mar 2022 12:10:06 -0700 (PDT) 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 20:10:05 +0100 Organization: none Lines: 27 Message-ID: References: Mime-Version: 1.0 Injection-Date: Sun, 13 Mar 2022 19:10:06 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="1018bd579fc72e6db1d6ecac86d6b0f9"; logging-data="5337"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX18Iwqeu7dPFDk+IaR50uYHM" Cancel-Lock: sha1:XX6ms2g1x4/wfzz1Z9s/IoT7jCk= In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bytes: 2010 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 mean, it's clear, what this line is intended to do, but I've never > seen this line before. > > Why does it not work on my system? > How to make it work? Do I need the change some setting on my system? > (Yes, I already know how to work around, but I'm curious.) C. Masloch ("ecm") pointed me to . Of course, this works case-sensitive. When I call 'make DJGPP=C:\DJGPP\DJGPP.ENV' it works fine. :-) -- Robert Riebisch