From a74bbef25f8aa4d6b43be23b3831655efad1711c Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Thu, 7 Apr 2016 13:48:33 -0700 Subject: Use find instead of sbt to determine (potential) sources. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 29534b83..0ecfa6e6 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,7 @@ sbt ?= sbt stanza ?= $(install_dir)/stanza stanza_bin ?= $(install_dir)/firrtl-stanza scala_jar ?= $(install_dir)/firrtl.jar -# The following is slow but accurate. -# We use 'unmanaged' so we don't include source files generated by the -# build itself (otherwise, we'd need to include the rules to build them). -scala_src := $(shell $(sbt) "show compile:unmanaged-sources compile:unmanaged-resources" | ./sourcesFromSbt.sh ) +scala_src := $(shell find src -type f \( -name "*.scala" -o -path "*/resources/*" \)) stanza_src=$(shell ls src/main/stanza/*.stanza) all-noise: -- cgit v1.2.3