(OS = Windows XP and 7)

In my makefiles, I have a pattern rule such as the following.  (This is for 
latex, where creating a DVI wants EPS files, and a PDF wants JPG (or similar).)

----------
JPG_FILES =  $(wildcard ./*.jpg)

EPS_FILES = $(JPG_FILES:.jpg=.eps) 

%.eps : %.jpg
 bmeps -c -t jpg $< $@

----------

This all works fine when the file suffix is really lowercase "jpg".  Some of my 
files had a mixture such as "Jpg", "JPg", etc.  The substitution operation is 
case sensitive: "jpg" changes to "eps", but "Jpg" or "JPg", etc., do not.  

Is this the intended behavior, or am I doing something wrong?  On Windows, the 
filenames are (not usually) case sensitive.  Is there a way to have it to 
operate in an case-insensitive manner?

Thanks
James
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to