Re: Environment variables in makefiles with DOS

2007-05-18 Thread Earnie Boyd
Quoting Greg Chicares <[EMAIL PROTECTED]>: # Quoting doesn't help. VPATH = "My Source Files" But VPATH is one of those variables that refers to file paths. Would it be possible to tokenize the space with something like %20? So my foo.mk has the quoted path with a space and internally the

Re: Environment variables in makefiles with DOS

2007-05-18 Thread Earnie Boyd
Quoting Eli Zaretskii <[EMAIL PROTECTED]>: Yikes! I'd prefer a general solution that would work on other platforms as well, not only on DOS/Windows. After all, file names with blanks find their way into Posix platforms also. Especially when they are copied there from windows. Earnie ___

Re: Environment variables in makefiles with DOS

2007-05-18 Thread Eli Zaretskii
> Date: Fri, 18 May 2007 14:33:37 + > From: Greg Chicares <[EMAIL PROTECTED]> > > Might this provide the optimal answer to the recurring questions > about paths with embedded blanks? > > $(dospath name...) > Return an alias for file 'name'. On systems that encourage > embedding blanks in

Re: Environment variables in makefiles with DOS

2007-05-18 Thread Eli Zaretskii
> Date: Fri, 18 May 2007 14:22:04 +0200 > From: John Graham-Cumming <[EMAIL PROTECTED]> > Cc: make-w32@gnu.org > > You could transform the spaces into ? (since GNU Make will do a wildcard > search on the filename you provide): > > include C:/NGC/Source/Main?Line/default.mk > > should work. Only

Re: Environment variables in makefiles with DOS

2007-05-18 Thread Greg Chicares
On 2007-05-18 12:59Z, Earnie Boyd wrote: > Quoting Eli Zaretskii <[EMAIL PROTECTED]>: [...] >> 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 th

Re: Environment variables in makefiles with DOS

2007-05-18 Thread John Graham-Cumming
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Graham Labdon wrote: > Hi > I have a makefile executed under Windows XP > It has the line > include $(SOURCE_ROOT)\$(NGC_VERSION)\deafult.mk > > SOURCE_ROOT is an enviroment varaible set to C:\NGC\Source > NGC_VERSION is an environment variable set t

Re: Environment variables in makefiles with DOS

2007-05-18 Thread Earnie Boyd
Quoting Eli Zaretskii <[EMAIL PROTECTED]>: Date: Thu, 17 May 2007 10:27:34 -0400 From: Earnie Boyd <[EMAIL PROTECTED]> 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 c

Re: installing make on windows

2007-05-18 Thread Earnie Boyd
Quoting wafa Berrayana <[EMAIL PROTECTED]>: installing the make utility. I download the soft mingw32-make-3.81-1-src.tar, Try the mingw32-make-3.81-1.tar instead. It has a prebuild of the -src.tar. Earnie ___ Make-w32 mailing list Make-w32@gnu.or

installing make on windows

2007-05-18 Thread wafa Berrayana
Hello every body, I have to install J-SIM on my computer. To do this, I have to begin by installing the make utility. I download the soft mingw32-make-3.81-1-src.tar, but I dont know how to install it. Thanks a lot for your help. Yours Sincerely, Wafa __