Skip to content

Commit caffb2f

Browse files
committed
Teach make about the encoding_rs.h dependency.
1 parent 2aec595 commit caffb2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ LDFLAGS = -Wl,--gc-sections -ldl -lpthread -lgcc_s -lrt -lc -lm
1313
recode_c: recode_c.o ../encoding-rs/target/release/libencoding_rs.a
1414
$(CC) -o $@ $^ $(LDFLAGS)
1515

16+
recode_c.o: recode_c.c ../encoding-rs/target/include/encoding_rs.h
17+
1618
../encoding-rs/target/release/libencoding_rs.a: cargo
1719

1820
../encoding-rs/target/include/encoding_rs.h: cargo

0 commit comments

Comments
 (0)