"jbkim" <[EMAIL PROTECTED]> writes: > ==> Following is Source Code of the Makefile. > > ################################################################################ > #------------------------------------------------------------------------------- > # Object directory target > #------------------------------------------------------------------------------- > > # The object subdirectoy is created if it does not already exist. > > $(TARGETDIR)/exist : > @if test ! -f $(TARGETDIR)/exist; then mkdir $(TARGETDIR); fi > @echo Building $(TARGETDIR) > $(TARGETDIR)/exist > ################################################################################
Try this instead : $(TARGETDIR)/exist : @mkdir -p $(TARGETDIR) @echo Building $(TARGETDIR) > $(TARGETDIR)/exist It should work better if multiple instances of make are trying to create the same directory in parallel. BTW, this is really off-topic... -- Benoit __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc