Skip to content

Commit

Permalink
An attempt to fix github action freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Mar 14, 2024
1 parent 574ca91 commit f591d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ 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)

$(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
Expand Down

0 comments on commit f591d13

Please sign in to comment.