summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87cdcced..b328b6d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
+# Retain all intermediate files.
+.SECONDARY:
+
SBT ?= sbt
SBT_FLAGS ?= -Dsbt.log.noformat=true
CHISEL_VERSION = $(shell "$(SBT)" $(SBT_FLAGS) "show version" | tail -n 1 | cut -d ' ' -f 2)
SRC_DIR ?= .
-CHISEL_BIN ?= $(SRC_DIR)/bin
+CHISEL_BIN ?= $(abspath $(SRC_DIR)/bin)
export CHISEL_BIN
#$(info Build Chisel $(CHISEL_VERSION))