summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-11-08 14:44:29 +0100
committerTor Andersson <tor.andersson@artifex.com>2013-11-11 16:12:45 +0100
commita49539c0c2c5bbf234d2bf2697c10593afeec2af (patch)
treef2e5f5c6dff78c2ef10e14a79295e193ac1687f4
parent03a56be6b569c034fddcc095ba5dd137fa404c9f (diff)
downloadmupdf-a49539c0c2c5bbf234d2bf2697c10593afeec2af.tar.xz
Fix Makefile output directory dependency for curl library.
Don't call mkdir explicitly in the build rule. Use the ALL_DIR variable.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 91c7b5ec..7004eef3 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ ALL_DIR += $(OUT)/cbz
ALL_DIR += $(OUT)/img
ALL_DIR += $(OUT)/tools
ALL_DIR += $(OUT)/platform/x11
+ALL_DIR += $(OUT)/platform/x11/curl
FITZ_HDR := include/mupdf/fitz.h $(wildcard include/mupdf/fitz/*.h)
PDF_HDR := include/mupdf/pdf.h $(wildcard include/mupdf/pdf/*.h)
@@ -145,7 +146,6 @@ $(OUT)/platform/x11/%.o : platform/x11/%.c | $(ALL_DIR)
$(CC_CMD) $(X11_CFLAGS) $(CURL_CFLAGS)
$(OUT)/platform/x11/curl/%.o : platform/x11/%.c | $(ALL_DIR)
- mkdir -p $(OUT)/platform/x11/curl
$(CC_CMD) $(X11_CFLAGS) $(CURL_CFLAGS) -DHAVE_CURL
.PRECIOUS : $(OUT)/%.o # Keep intermediates from chained rules