From aae03a4e09aef90cd6e924ea9f62e8fd04b4de37 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Thu, 23 Jul 2015 09:14:15 -0700 Subject: Preserve secondary files; use abspath for bin dir. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3