diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-11-08 14:44:29 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-11-11 16:12:45 +0100 |
commit | a49539c0c2c5bbf234d2bf2697c10593afeec2af (patch) | |
tree | f2e5f5c6dff78c2ef10e14a79295e193ac1687f4 | |
parent | 03a56be6b569c034fddcc095ba5dd137fa404c9f (diff) | |
download | mupdf-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |