[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Environment variables in makefiles with DOS
From: |
Eli Zaretskii |
Subject: |
Re: Environment variables in makefiles with DOS |
Date: |
Thu, 17 May 2007 23:06:15 +0300 |
> Date: Thu, 17 May 2007 10:27:34 -0400
> From: Earnie Boyd <address@hidden>
>
> Is there a windows API call to convert the filename to 8.3?
Yes, GetShortPathName. See:
http://msdn2.microsoft.com/en-us/library/aa364989.aspx
> Perhaps a windows hack could store the filename in 8.3?
But how would this solve the problem in the case in point? The
problem here is with the Makefile parser, which uses whitespace as
separator. This happens much earlier than Make even knows it is
dealing with a file name.
Btw, would using a function work here? Something like this:
include $(SOURCE_ROOT)/$(file "Main Line")/default.mk
where the hypothetical function $file just returns its argument.
Would this work?
- Environment variables in makefiles with DOS, Graham Labdon, 2007/05/17
- Re: Environment variables in makefiles with DOS, Paul Smith, 2007/05/17
- Re: Environment variables in makefiles with DOS, Earnie Boyd, 2007/05/17
- Re: Environment variables in makefiles with DOS,
Eli Zaretskii <=
- Re: Environment variables in makefiles with DOS, Earnie Boyd, 2007/05/18
- Re: Environment variables in makefiles with DOS, Greg Chicares, 2007/05/18
- Re: Environment variables in makefiles with DOS, Eli Zaretskii, 2007/05/18
- Re: Environment variables in makefiles with DOS, Earnie Boyd, 2007/05/18
- Re: Environment variables in makefiles with DOS, Paul Smith, 2007/05/19
- Re: Environment variables in makefiles with DOS, Earnie Boyd, 2007/05/19
- Re: Environment variables in makefiles with DOS, Earnie Boyd, 2007/05/18
- Re: Environment variables in makefiles with DOS, Jon Grant, 2007/05/19
Re: Environment variables in makefiles with DOS, John Graham-Cumming, 2007/05/18