[AD] oversight in makefile.vc

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


My MSVC environment variable is set to:

C:\Progra~1\Micros~3\Common\MSDev98

When running "make install", I get the following error:

   Creating library lib/msvc/alleg.lib and object lib/msvc/alleg.exp
copy lib\msvc\alleg.lib C:\Progra~1\Micros~3\Common\MSDev98\lib
        1 file(s) copied.
copy include\allegro.h C:\Progra~1\Micros~3\Common\MSDev98\include
        1 file(s) copied.
md C:\Progra~1\Micros~3\Common\MSDev98\include\allegro
The system cannot find the path specified.
make: *** [C:/Progra~1/Micros~3/Common/MSDev98/include/allegro] Error 1


The reason why is that by default I have no /include or /lib folder under
MSDev98, so the first time 'make' copies the files it doesn't create a
folder, just a filename. So "alleg.lib" gets copied as file "lib" and
"allegro.h" gets copied as "include". Then, when it tries to make the folder
"\include\allegro", it cannot.

So, the following lines need to be added wherever it makes sense:

md $(MSVCDIR_D)\lib
md $(MSVCDIR_D)\include

I'm not familar with make files at all, so I didn't know how to do it so it
wouldn't try to create the folder if it already existed.

btw, I am compiling with MingW & MSVC from under WinXP - works great other
than what I mentioned above

--
Matthew Leverton




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