I don't know how automake does it (I've never perused an automake
generated makefile deeply enough).

In my personal (non-AM) build systems I do something like this:

    __dummy := $(shell [ -d .deps ] || mkdir .deps)

There is some information about creating directories in the GNU make manual.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to