mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rebuild when any of the Rust files change
This commit is contained in:
parent
2f2dcf0a99
commit
6c98d31523
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue