From 1195759e7930359d35eaec3d598bc7f0b009ac50 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 9 Aug 2013 16:17:50 +0100 Subject: [PATCH] Makefile: rebuild when rust-cssparser changes. --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index ba8c321ade9..f19332bac2d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,13 +1,15 @@ VPATH=%VPATH% +CSSPARSER_DIR ?= ../rust-cssparser CC ?= gcc CXX ?= g++ CXXFLAGS ?= AR ?= ar RUSTC ?= rustc -RUSTFLAGS ?= +RUSTFLAGS ?= -L $(CSSPARSER_DIR) -RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') + +RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') $(CSSPARSER_DIR)/libcssparser.dummy .PHONY: all all: libservo-style.dummy