mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Build rust-sdl and rust-azure
This commit is contained in:
parent
c136c496d8
commit
67af3562db
1 changed files with 14 additions and 2 deletions
16
Makefile.in
16
Makefile.in
|
@ -9,15 +9,27 @@ RUST_SRC=$(shell find $(VPATH)/src -type f -name '*.rs')
|
|||
all: servo
|
||||
|
||||
servo: \
|
||||
src/servo/servo.rc $(RUST_SRC)
|
||||
src/servo/servo.rc $(RUST_SRC) \
|
||||
src/rust-azure/libazure.dummy \
|
||||
src/rust-sdl/libsdl.dummy
|
||||
$(RUSTC) $(RUSTFLAGS) -o $@ $<
|
||||
|
||||
servo-test: \
|
||||
src/servo/servo.rc $(RUST_SRC)
|
||||
src/servo/servo.rc $(RUST_SRC) \
|
||||
src/rust-azure/libazure.dummy \
|
||||
src/rust-sdl/libsdl.dummy
|
||||
$(RUSTC) $(RUSTFLAGS) --test -o $@ $<
|
||||
|
||||
src/rust-azure/libazure.dummy:
|
||||
make -C src/rust-azure
|
||||
|
||||
src/rust-sdl/libsdl.dummy:
|
||||
make -C src/rust-sdl
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
make clean -C src/rust-azure
|
||||
make clean -C src/rust-sdl
|
||||
rm -f servo servo-test
|
||||
|
||||
.PHONY: test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue