mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
9 lines
216 B
Makefile
9 lines
216 B
Makefile
|
-include ../tools.mk
|
||
|
|
||
|
all:
|
||
|
$(CC) -std=c99 test.c -c -o $(TMPDIR)/test.o
|
||
|
$(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
|
||
|
$(RUSTC) testcrate.rs -L $(TMPDIR)
|
||
|
$(RUSTC) test.rs -L $(TMPDIR)
|
||
|
$(call RUN,test) || exit 1
|