From 2d8e9c8adcbfef99bf5f0229c4618c03bf6e8fca Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 22 May 2014 09:01:21 -0700 Subject: [PATCH] Rebuild when external dependencies change Depends on mozilla/servo#2472. --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index a586afd7..6776e72e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,13 +6,14 @@ CXXFLAGS ?= AR ?= ar RUSTC ?= rustc RUSTFLAGS ?= +EXT_DEPS ?= RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') .PHONY: all all: libcssparser.dummy -libcssparser.dummy: lib.rs $(RUST_SRC) +libcssparser.dummy: lib.rs $(RUST_SRC) $(EXT_DEPS) $(RUSTC) $(RUSTFLAGS) $< --out-dir . touch $@