]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/llvm-module-pass/Makefile
Auto merge of #31661 - steveklabnik:rollup, r=steveklabnik
[rust.git] / src / test / run-make / llvm-module-pass / Makefile
1 -include ../tools.mk
2
3 # Windows doesn't correctly handle include statements with escaping paths,
4 # so this test will not get run on Windows.
5 ifdef IS_WINDOWS
6 all:
7 else
8 all: $(call NATIVE_STATICLIB,llvm-pass)
9         $(RUSTC) plugin.rs -C prefer-dynamic
10         $(RUSTC) main.rs
11
12 $(TMPDIR)/libllvm-pass.o:
13         $(CXX) $(CFLAGS) $(LLVM_CXXFLAGS) -c llvm-pass.so.cc -o $(TMPDIR)/libllvm-pass.o
14 endif