Re: [AD] Makefile fix

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


On Thu, Aug 05, 2004, Bobby Ferris wrote:

> >  Replace "mkdir $(FOO)" with "if test ! -d $(FOO); then mkdir $(FOO); fi"
> >which is what you really mean. Ideally, automake's mkinstalldir should
> >be used since it can recursively create directory trees.
>
> well what about windows? :/

   This is how to do it under a DOS prompt; someone should check whether
it works in a Makefile:

     if not exist $(FOO)\nul.ext md $(FOO)

-- 
Sam.




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