mkdir -p so dirs don't cause unnecessary errors

This commit is contained in:
Bill Currie 2001-12-22 21:54:16 +00:00
parent 306bacc504
commit 3ccbf87b4d

View file

@ -68,7 +68,7 @@ TARGETS=$(BUILDDIR)/quake2 \
# $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT) # $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT)
build_debug: build_debug:
@-mkdir $(BUILD_DEBUG_DIR) \ @-mkdir -p $(BUILD_DEBUG_DIR) \
$(BUILD_DEBUG_DIR)/client \ $(BUILD_DEBUG_DIR)/client \
$(BUILD_DEBUG_DIR)/ref_soft \ $(BUILD_DEBUG_DIR)/ref_soft \
$(BUILD_DEBUG_DIR)/ref_gl \ $(BUILD_DEBUG_DIR)/ref_gl \
@ -78,7 +78,7 @@ build_debug:
$(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS)" $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS)"
build_release: build_release:
@-mkdir $(BUILD_RELEASE_DIR) \ @-mkdir -p $(BUILD_RELEASE_DIR) \
$(BUILD_RELEASE_DIR)/client \ $(BUILD_RELEASE_DIR)/client \
$(BUILD_RELEASE_DIR)/ref_soft \ $(BUILD_RELEASE_DIR)/ref_soft \
$(BUILD_RELEASE_DIR)/ref_gl \ $(BUILD_RELEASE_DIR)/ref_gl \