Skip to content

Commit 5dcdfb3

Browse files
authored
Merge pull request #290 from yui-915/make-noB
Fix incremental compilation for third party targets
2 parents c6a21ba + 50a7d9d commit 5dcdfb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ test: $(BUILD)/b $(BUILD)/btest $(BUILD)/libb/
6161
.PHONY: mingw32-all
6262
mingw32-all: $(BUILD)/b.exe $(BUILD)/btest.exe $(BUILD)/libb/
6363

64-
$(BUILD)/b: $(RSS) $(POSIX_OBJS) $(SRC)/codegen/.INDEX.rs | $(BUILD)
64+
$(BUILD)/b: $(RSS) $(POSIX_OBJS) $(SRC)/codegen/.INDEX.rs $(SRC)/codegen/**/* | $(BUILD)
6565
rustc $(CRUST_FLAGS) -L $(BUILD) -C link-args="$(POSIX_OBJS) $(LDFLAGS)" $(SRC)/b.rs -o $(BUILD)/b
6666

67-
$(BUILD)/btest: $(SRC)/btest.rs $(RSS) $(POSIX_OBJS) $(SRC)/codegen/.INDEX.rs | $(BUILD)
67+
$(BUILD)/btest: $(SRC)/btest.rs $(RSS) $(POSIX_OBJS) $(SRC)/codegen/.INDEX.rs $(SRC)/codegen/**/* | $(BUILD)
6868
rustc $(CRUST_FLAGS) -C link-args="$(POSIX_OBJS) $(LDFLAGS)" $(SRC)/btest.rs -o $(BUILD)/btest
6969

7070
ifneq ($(OS),Windows_NT)

0 commit comments

Comments
 (0)