|
From: | John Graham-Cumming |
Subject: | Re: Environment variables in makefiles with DOS |
Date: | Fri, 18 May 2007 14:22:04 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
-----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 to Main Line > > When the makefile is run I get an error saying tha the file > C:\NGC\Source\Main cannot be found > Obviously I want to include file C:\NGC\Source\Main Line\default.mk 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. John. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGTZprLphrp73n/hARAssZAKCR6/YzuEd/RJrQFgcRJ6iakCgnxwCfdnHY TAIujxRJXlmbL3MVTuQvZq4= =qoPv -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |