mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
servo: Rebuild when any of the Rust files change
Source-Repo: https://github.com/servo/servo Source-Revision: 6c98d31523c66100e685d0a537fc02965b70d561
This commit is contained in:
parent
28334ba653
commit
061196e31f
@ -1,12 +1,14 @@
|
||||
VPATH=%VPATH%
|
||||
|
||||
RUSTC?=rustc
|
||||
RUSTFLAGS?=
|
||||
|
||||
VPATH=%VPATH%
|
||||
RUST_SRC=$(shell find $(VPATH)/src -type f -name '*.rs')
|
||||
|
||||
all: servo
|
||||
|
||||
servo: src/servo.rc
|
||||
$(RUSTC) $(RUSTFLAGS) -o $@ $^
|
||||
servo: src/servo.rc $(RUST_SRC)
|
||||
$(RUSTC) $(RUSTFLAGS) -o $@ $<
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user