2022-08-22 19:00:00 -05:00
|
|
|
include ../tools.mk
|
2014-02-22 12:45:44 -06:00
|
|
|
|
2019-01-06 15:27:57 -06:00
|
|
|
# ignore-windows
|
|
|
|
# `ln` is actually `cp` on msys.
|
2014-04-27 02:52:36 -05:00
|
|
|
|
2014-02-22 12:45:44 -06:00
|
|
|
all:
|
2014-11-03 01:02:53 -06:00
|
|
|
$(RUSTC) foo.rs -C prefer-dynamic
|
2014-02-22 12:45:44 -06:00
|
|
|
mkdir -p $(TMPDIR)/other
|
|
|
|
ln -nsf $(TMPDIR)/$(call DYLIB_GLOB,foo) $(TMPDIR)/other
|
|
|
|
$(RUSTC) bar.rs -L $(TMPDIR)/other
|