We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31a19f commit 7d46a35Copy full SHA for 7d46a35
GNUmakefile
@@ -41,7 +41,11 @@ PROG_PREFIX ?=
41
# This won't support any directory with spaces in its name, but you can just
42
# make a symlink without spaces that points to the directory.
43
BASEDIR ?= $(shell pwd)
44
+ifdef CARGO_TARGET_DIR
45
+BUILDDIR := $(CARGO_TARGET_DIR)/${PROFILE}
46
+else
47
BUILDDIR := $(BASEDIR)/target/${PROFILE}
48
+endif
49
PKG_BUILDDIR := $(BUILDDIR)/deps
50
DOCSDIR := $(BASEDIR)/docs
51
0 commit comments