From 3ccbf87b4d3fe700576894feeed2090d0c13464f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 22 Dec 2001 21:54:16 +0000 Subject: [PATCH] mkdir -p so dirs don't cause unnecessary errors --- linux/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index d3e6032..f054d76 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -68,7 +68,7 @@ TARGETS=$(BUILDDIR)/quake2 \ # $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT) build_debug: - @-mkdir $(BUILD_DEBUG_DIR) \ + @-mkdir -p $(BUILD_DEBUG_DIR) \ $(BUILD_DEBUG_DIR)/client \ $(BUILD_DEBUG_DIR)/ref_soft \ $(BUILD_DEBUG_DIR)/ref_gl \ @@ -78,7 +78,7 @@ build_debug: $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS)" build_release: - @-mkdir $(BUILD_RELEASE_DIR) \ + @-mkdir -p $(BUILD_RELEASE_DIR) \ $(BUILD_RELEASE_DIR)/client \ $(BUILD_RELEASE_DIR)/ref_soft \ $(BUILD_RELEASE_DIR)/ref_gl \