diff options
| author | Steven Fackler <[email protected]> | 2014-02-10 20:21:21 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-02-10 20:21:21 -0800 |
| commit | a88b7c0e3c68f0a5ef630d215604d3d26b8de588 (patch) | |
| tree | 7fc5635ef3ba281ea9ead913088acf2173c383b9 /Makefile.in | |
| parent | Update debuginfo flag (diff) | |
| download | rust-openssl-a88b7c0e3c68f0a5ef630d215604d3d26b8de588.tar.xz rust-openssl-a88b7c0e3c68f0a5ef630d215604d3d26b8de588.zip | |
Make Makefile variables early evaluated
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 0352eecb..aab4f9f1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,11 +1,11 @@ -RUSTC = rustc -BUILDDIR = build -RUSTFLAGS = -O -g --cfg ndebug -INSTALL_DIR = %PREFIX% - -OPENSSL_LIB = lib.rs -OPENSSL = $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file)) -OPENSSL_TEST = $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB)) +RUSTC := rustc +BUILDDIR := build +RUSTFLAGS := -O -g --cfg ndebug +INSTALL_DIR := %PREFIX% + +OPENSSL_LIB := lib.rs +OPENSSL := $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file)) +OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB)) all: $(OPENSSL) |