[AD] patch for mingw makefile

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


I'm using "gcc version 2.95.3-6 (mingw special)" It is installed in:
"c:\code\mingw", and that is what MINGDIR points to. "GNU Make version
3.79.1, by Richard Stallman and Roland McGrath."

If I try to do a "make installall" it chokes on the "md include/allegro"
command, because it tries to create the directory even if it already exists.
I've had this problem ever since Allegro 4.0.0, as far as I remember. If I
adjust the makefile to have a trailing / on the directory, then it works
fine. (It creates the directory if it does not exist, and skips it
otherwise.)

What is odd is I don't have this problem on the same PC when I use the "make
installall" for the VC. I really don't understand why it is doing what it is
doing - the makefile syntax looks fine. May it possibly just be a `make' bug
that we shouldn't worry about?

I've attached a simple patch in case anyone's interested. Obviously there's
no need for it to be applied if I'm the only person in the world that has
this problem or its just a weird `make' bug. :-/

--
Matthew Leverton - matthew@xxxxxxxxxx
http://www.allegro.cc

Attachment: makefile.mgw.diff
Description: Binary data



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