Skip to content

Commit 2d8e9c8

Browse files
committed
Rebuild when external dependencies change
Depends on servo/servo#2472.
1 parent 6ea8623 commit 2d8e9c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ CXXFLAGS ?=
66
AR ?= ar
77
RUSTC ?= rustc
88
RUSTFLAGS ?=
9+
EXT_DEPS ?=
910

1011
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')
1112

1213
.PHONY: all
1314
all: libcssparser.dummy
1415

15-
libcssparser.dummy: lib.rs $(RUST_SRC)
16+
libcssparser.dummy: lib.rs $(RUST_SRC) $(EXT_DEPS)
1617
$(RUSTC) $(RUSTFLAGS) $< --out-dir .
1718
touch $@
1819

0 commit comments

Comments
 (0)