Build servo as a library

This commit is contained in:
Brian Anderson 2012-06-26 00:04:30 -07:00
parent 596913ee91
commit f36a834f0d
2 changed files with 4 additions and 0 deletions

View file

@ -77,6 +77,9 @@ CLEAN_DEPS += \
all: servo package
servo: $(SERVO_DEPS)
$(RUSTC) $(RUSTFLAGS) -o $@ $< --bin
libservo.dummy: $(SERVO_DEPS)
$(RUSTC) $(RUSTFLAGS) -o $@ $<
servo-test: $(SERVO_DEPS)

View file

@ -5,6 +5,7 @@
#[comment = "The Servo Parallel Browser Project"];
#[license = "MPL"];
#[crate_type = "lib"];
use std;
use sdl;