make sure grep filter only omits .h files

This commit is contained in:
Howard Mao
2019-10-31 15:54:09 -07:00
parent b73e43a0f5
commit bd6397130b

View File

@@ -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