diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-05-30 20:17:25 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-05-30 20:17:25 +0200 |
commit | 8ae573456d60b7ef9ada79196e36b153b73c6874 (patch) | |
tree | 95e55cf28709a9963f0e20a2090443dff7eec240 | |
parent | 0fed8c5da797f25c6794a56de7706c2bb9e94700 (diff) | |
download | mupdf-8ae573456d60b7ef9ada79196e36b153b73c6874.tar.xz |
Fix header file dependencies and X11 CFLAGS in Makefile.
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -86,15 +86,20 @@ $(OUT)/%.o : xps/%.c $(MUXPS_HDR) | $(OUT) $(CC_CMD) $(OUT)/%.o : cbz/%.c $(MUCBZ_HDR) | $(OUT) $(CC_CMD) -$(OUT)/%.o : image/%.c $(MUCBZ_HDR) | $(OUT) - $(CC_CMD) -$(OUT)/%.o : apps/%.c fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h image/muimage.h | $(OUT) +$(OUT)/%.o : image/%.c $(MUIMAGE_HDR) | $(OUT) $(CC_CMD) $(OUT)/%.o : ucdn/%.c | $(OUT) $(CC_CMD) $(OUT)/%.o : scripts/%.c | $(OUT) $(CC_CMD) +$(OUT)/x11_%.o : apps/x11_%.c $(FITZ_HDR) | $(OUT) + $(CC_CMD) $(X11_CFLAGS) + +$(OUT)/%.o : apps/%.c $(FITZ_HDR) $(MUPDF_HDR) | $(OUT) + $(CC_CMD) + + .PRECIOUS : $(OUT)/%.o # Keep intermediates from chained rules # --- Fitz, MuPDF, MuXPS and MuCBZ library --- |