From f591d135be188988247ef2ae6e3a1db9f34092b4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Mar 2024 19:43:38 +0300 Subject: [PATCH] An attempt to fix github action freeze --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4cdfea1c..ef2b3346 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ OBJS_COMMON = $(BUILD_DIR)/ir.o $(BUILD_DIR)/ir_strtab.o $(BUILD_DIR)/ir_cfg.o \ $(BUILD_DIR)/ir_cpuinfo.o $(BUILD_DIR)/ir_emit_llvm.o OBJS_IR = $(BUILD_DIR)/ir_main.o $(LLVM_OBJS) -all: $(BUILD_DIR) $(BUILD_DIR)/ir $(BUILD_DIR)/tester +all: $(BUILD_DIR) $(BUILD_DIR)/ir $(BUILD_DIR)/libir.a $(BUILD_DIR)/tester $(BUILD_DIR): @mkdir -p $(BUILD_DIR) @@ -85,7 +85,7 @@ $(BUILD_DIR): $(BUILD_DIR)/libir.a: $(OBJS_COMMON) ar r $@ $^ -$(BUILD_DIR)/ir: $(OBJS_IR) $(BUILD_DIR)/libir.a +$(BUILD_DIR)/ir: $(OBJS_IR) $(OBJS_COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LLVM_LIBS) -lcapstone $(OBJS_COMMON): $(SRC_DIR)/ir.h $(SRC_DIR)/ir_private.h