From bd6397130be791fcb6e9fe1cd5880f6879d97911 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Thu, 31 Oct 2019 15:54:09 -0700 Subject: [PATCH] make sure grep filter only omits .h files --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 95d7c614cb..8581fbb0e4 100644 --- a/common.mk +++ b/common.mk @@ -80,7 +80,7 @@ harness_macro_temp: $(HARNESS_SMEMS_CONF) # remove duplicate files and headers in list of simulation file inputs ######################################################################################## $(sim_common_files): $(sim_files) $(sim_top_blackboxes) $(sim_harness_blackboxes) - awk '{print $1;}' $^ | sort -u | grep -v '.*\.h' > $@ + awk '{print $1;}' $^ | sort -u | grep -v '.*\.h$$' > $@ ######################################################################################### # helper rule to just make verilog files