Make also lib directory if missing when making libraries
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Oct 1999 08:43:45 +0000 (08:43 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Oct 1999 08:43:45 +0000 (08:43 +0000)
conf/GeneralMacros

index b1a75e51f863c0001a41ad344d67204bffea69fb..22c52d1fbd67df26339f8d7b5629ca6294bc423f 100644 (file)
@@ -2,7 +2,7 @@
 
 $(SLIBRARY):
                @echo "Generating $@"
-               @[ -d $(dir $@) ] || mkdir $(dir $@)
+               @[ -d $(dir $@) ] || mkdir -p $(dir $@)
                @rm -f $@
                 ifeq ($(PLATFORM),aix)
                   @cd tgt_$(ALICE_TARGET) ;\
@@ -16,7 +16,7 @@ $(SLIBRARY):
 
 $(ALIBRARY):   
                @echo "Generating $@"
-               @[ -d $(dir $@) ] || mkdir $(dir $@)
+               @[ -d $(dir $@) ] || mkdir -p $(dir $@)
                @rm -f $@
                @ar rv $@ $^