Move almost all run-make-fulldeps to run-make
They pass fine.
This commit is contained in:
parent
f2d9a3d077
commit
433da1fc04
696 changed files with 2 additions and 2 deletions
19
tests/run-make/cdylib/Makefile
Normal file
19
tests/run-make/cdylib/Makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
include ../tools.mk
|
||||
|
||||
all: $(call RUN_BINFILE,foo)
|
||||
$(call RUN,foo)
|
||||
rm $(call DYLIB,foo)
|
||||
$(RUSTC) foo.rs -C lto
|
||||
$(call RUN,foo)
|
||||
|
||||
ifdef IS_MSVC
|
||||
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
||||
$(CC) $(CFLAGS) foo.c $(TMPDIR)/foo.dll.lib $(call OUT_EXE,foo)
|
||||
else
|
||||
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
||||
$(CC) $(CFLAGS) foo.c -lfoo -o $(call RUN_BINFILE,foo) -L $(TMPDIR)
|
||||
endif
|
||||
|
||||
$(call DYLIB,foo):
|
||||
$(RUSTC) bar.rs
|
||||
$(RUSTC) foo.rs
|
||||
Loading…
Add table
Add a link
Reference in a new issue