mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
4851d5663c
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
13 lines
295 B
Makefile
13 lines
295 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
mkdir $(TMPDIR)/a
|
|
mkdir $(TMPDIR)/b
|
|
$(call COMPILE_OBJ,$(TMPDIR)/a/foo.o,foo.c)
|
|
$(call COMPILE_OBJ,$(TMPDIR)/b/foo.o,bar.c)
|
|
$(AR) crus $(TMPDIR)/libfoo.a $(TMPDIR)/a/foo.o $(TMPDIR)/b/foo.o
|
|
$(RUSTC) foo.rs
|
|
$(RUSTC) bar.rs
|
|
$(call RUN,bar)
|