From 381b90476fb11c2715851bbe07eab8d3ce8420b8 Mon Sep 17 00:00:00 2001 From: Rahul Behl Date: Sun, 4 Mar 2018 19:35:53 +0530 Subject: [PATCH] Update Makefile - Added back the elfdpi.h creation as it is required by build-dpi target --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2f54eb046..b5f899ace 100644 --- a/Makefile +++ b/Makefile @@ -93,9 +93,9 @@ $(library)/.build-srcs: $(util) $(src) touch $(library)/.build-srcs # build TBs -$(library)/.build-tb: $(tbs) +$(library)/.build-tb: $(dpi) $(tbs) # Compile top level - vlog$(questa_version) -sv $(tbs) -work $(library) + vlog$(questa_version) -sv $(tbs) -work $(library) $(filter %.c %.cc, $(dpi)) -ccflags "-g -std=c++11 " -dpiheader tb/dpi/elfdpi.h touch $(library)/.build-tb # compile DPIs