diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-05-04 15:41:30 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-05-04 15:41:30 +0200 |
commit | b18c1ec68392979fd12483a5d68acca4e1c42221 (patch) | |
tree | 56360589b37012e4ae6ca6adbc1c4143f6debd62 /Makefile | |
parent | e3b67278d96ffa9ea8ec0c74b5508a90cdecac0b (diff) | |
download | mupdf-b18c1ec68392979fd12483a5d68acca4e1c42221.tar.xz |
Fix macOS build.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -91,12 +91,6 @@ $(OUT)/%.a : $(OUT)/%.exe: $(OUT)/%.o | $(ALL_DIR) $(LINK_CMD) -$(OUT)/%.o : %.c | $(ALL_DIR) - $(CC_CMD) - -$(OUT)/%.o : %.cpp | $(ALL_DIR) - $(CXX_CMD) - $(OUT)/source/helpers/%.o : source/helpers/%.c | $(ALL_DIR) $(CC_CMD) $(PTHREAD_CFLAGS) -DHAVE_PTHREAD @@ -115,6 +109,12 @@ $(OUT)/platform/x11/curl/%.o : platform/x11/%.c | $(ALL_DIR) $(OUT)/platform/gl/%.o : platform/gl/%.c | $(ALL_DIR) $(CC_CMD) $(GLFW_CFLAGS) +$(OUT)/%.o : %.c | $(ALL_DIR) + $(CC_CMD) + +$(OUT)/%.o : %.cpp | $(ALL_DIR) + $(CXX_CMD) + .PRECIOUS : $(OUT)/%.o # Keep intermediates from chained rules # --- File lists --- |