Re: [AD] make install DEBUGMODE=1 failure |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
At 12:16 PM 8/08/2004, you wrote:
Evert Glebbeek wrote:
We should really have a way to solve this for all systems. For Unix
systems, Sam's solution will work, but it won't work on Windows.
The problem is that failing to create the directory because it already
exists shouldn't break the buildprocess.
FYI, in Windows/DOS you could do:
if not exist $(DIR) mkdir $(DIR)
That way, mkdir will only run if $(DIR) doesn't exist. Although, AFAIK
there's no way to tell if it's a file or directory that way.
i could write a very simple app that could return true/false if the folder
exists.
could it be called from a makefile ?