From 5c1df6d27f5dac143efc9ce84689b863dbee45bd Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 24 Mar 2021 08:35:07 -0700 Subject: Reorganize repo layout to make it a little easier to work within. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f532ce2..41fa7d9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -SOURCES := $(wildcard **.sv **.cpp) -COLLATERAL := $(wildcard **.hex **.svh) +SOURCES := $(shell find -name \*.sv -o -name \*.cpp) +COLLATERAL := $(shell find -name \*.hex -o -name \*.svh) OPTS ?= @@ -9,7 +9,7 @@ sim: build/Vtop build/Vtop: $(SOURCES) $(COLLATERAL) @mkdir -p build - verilator +1800-2017ext+sv -Wall -Wno-BLKSEQ -O3 $(OPTS) --Mdir build --trace --cc --build --exe --top-module top $(SOURCES) + verilator +1800-2017ext+sv -Wall -Wno-BLKSEQ -O3 -Ihdl $(OPTS) --Mdir build --trace --cc --build --exe --top-module top $(SOURCES) clean: rm -rf build -- cgit v1.2.3