Makefile: rebuild when rust-cssparser changes.

This commit is contained in:
Simon Sapin 2013-08-09 16:17:50 +01:00
parent cc302053ed
commit 1195759e79

View file

@ -1,13 +1,15 @@
VPATH=%VPATH% VPATH=%VPATH%
CSSPARSER_DIR ?= ../rust-cssparser
CC ?= gcc CC ?= gcc
CXX ?= g++ CXX ?= g++
CXXFLAGS ?= CXXFLAGS ?=
AR ?= ar AR ?= ar
RUSTC ?= rustc 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 .PHONY: all
all: libservo-style.dummy all: libservo-style.dummy