Re: [AD] Issues when building MSVC Allegro using Cygwin

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> >>One theory I've come up with is that the line:
> >>     $(foreach file, $(filter-out existing_dirs, $(INSTALL_DIRS)), \
> >>only works for shortened DOS filenames if backslashes are being used.
> > 
> > 
> > The attached makefile works with slashes under MSYS with Make 3.79.1. 
It
> > doesn't work with backslashes at all since I've used the "$(strip \)" 
trick,
> > but if you replace that with "\\" it will output the following error 
when
> > run a second time: "cannot create directory `c:\\progra~1\\foo': File
> > exists". I think Cygwin behaves like MSYS?
> 
> I just tried running the makefile twice under both Cygwin, DJGPP without 
> UNIX_TOOLS and DJGPP with UNIX_TOOLS set to 1. In all cases when I run 
> the makefile the first time, the two directories are successfully 
> created, and when I run the makefile for a second time, I always get the 
> message:
> make.exe: Nothing to be done for `create-dirs'.
> In Cygwin, I am using make 3.80, and in DJGPP, make 3.79.1
> 
> I hope this gives some insight into how to fix Allegro's makefile, but 
> as I don't know much about the commands used in makefiles and their 
> quirks, there's not much I can do myself.

If I followed the discussion correctly, this means that Daniel solved the 
problem. I'll wait for him to make a proper patch before trying to commit 
something.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/