Create tgt_ directory before copying Make-depend
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Jul 1999 17:00:56 +0000 (17:00 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 Jul 1999 17:00:56 +0000 (17:00 +0000)
conf/GeneralMacros

index 7801c3b819073fc829b5e0ccb1eef60ca0ae955e..a9c746debbec502589a59ed079d526381673d20a 100644 (file)
@@ -40,6 +40,7 @@ depend:
                @$(MAKEDEPEND) -ftgt_$(ALICE_TARGET)/Make-depend -ptgt_$(ALICE_TARGET)/ -- $(CXXFLAGS) $(DEPINC) -- $^
 
 tgt_$(ALICE_TARGET)/Make-depend:
+               @[ -d $(dir $@) ] || mkdir $(dir $@)
                @cp $(ALICE_ROOT)/conf/Makedepend $@
 
 macroclean: