From b18c1ec68392979fd12483a5d68acca4e1c42221 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 4 May 2017 15:41:30 +0200 Subject: Fix macOS build. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b6728b9..efd7d1f7 100644 --- a/Makefile +++ b/Makefile @@ -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 --- -- cgit v1.2.3