From cf28a299cdc4bd67460f04b2adab4658e7fe5db6 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 4 Jul 2023 10:03:33 +0300 Subject: [PATCH] Fix Makefile dependencies --- Makefile | 2 +- win32/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4a794e4..564a264 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ $(SRC_DIR)/ir_load.c: $(SRC_DIR)/ir.g $(BUILD_DIR)/ir_fold_hash.h: $(BUILD_DIR)/gen_ir_fold_hash $(SRC_DIR)/ir_fold.h $(SRC_DIR)/ir.h $(BUILD_DIR)/gen_ir_fold_hash < $(SRC_DIR)/ir_fold.h > $(BUILD_DIR)/ir_fold_hash.h -$(BUILD_DIR)/gen_ir_fold_hash: $(SRC_DIR)/gen_ir_fold_hash.c $(SRC_DIR)/ir_strtab.c +$(BUILD_DIR)/gen_ir_fold_hash: $(SRC_DIR)/gen_ir_fold_hash.c $(SRC_DIR)/ir_strtab.c $(SRC_DIR)/ir.h $(BUILD_CC) $(CFLAGS) $(LDFALGS) -o $@ $^ $(BUILD_DIR)/minilua: $(SRC_DIR)/dynasm/minilua.c diff --git a/win32/Makefile b/win32/Makefile index 5a0ee92..d81023f 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -92,7 +92,7 @@ $(BUILD_DIR)\ir_test.exe: $(OBJS_IR_TEST) $(OBJS_COMMON) $(LIBCAPSTONE) $(BUILD_DIR)\ir_fold_hash.h: $(BUILD_DIR)\gen_ir_fold_hash.exe $(SRC_DIR)\ir_fold.h $(SRC_DIR)\ir.h $(BUILD_DIR)\gen_ir_fold_hash.exe < $(SRC_DIR)\ir_fold.h > $(BUILD_DIR)\ir_fold_hash.h -$(BUILD_DIR)\gen_ir_fold_hash.exe: $(SRC_DIR)\gen_ir_fold_hash.c $(SRC_DIR)\ir_strtab.c +$(BUILD_DIR)\gen_ir_fold_hash.exe: $(SRC_DIR)\gen_ir_fold_hash.c $(SRC_DIR)\ir_strtab.c $(SRC_DIR)\ir.h "$(CC)" $(CFLAGS) /Fo$(BUILD_DIR)\ /Fe$@ $** $(BUILD_DIR)\minilua.exe: $(SRC_DIR)\dynasm\minilua.c