Various hackage for servo integration

This commit is contained in:
Brian Anderson
2012-04-18 15:24:45 -07:00
parent c1aa849cf5
commit da80902a00
2 changed files with 30 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
*~
*#
*.o
*.so
*.dylib
*.dSYM
*.dll
*.dummy
cocoa-test
+21
View File
@@ -0,0 +1,21 @@
RUSTC ?= rustc
RUSTFLAGS ?=
RUST_SRC = $(shell find . -type f -name '*.rs')
.PHONY: all
all: libcocoa.dummy
libcocoa.dummy: cocoa.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@
touch $@
cocoa-test: cocoa.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@ --test
check: cocoa-test
./cocoa-test
.PHONY: clean
clean:
rm -f cocoa-test *.so *.dylib *.dll *.dummy