Re: [AD] Makefile fix |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Sam Hocevar wrote:
you would need to get command/cmd to run it. You could put that in a batch file or something. OK. So let's hold off on this make file patch.... someone else can add the checking ;)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)
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |