aboutsummaryrefslogtreecommitdiff
path: root/i2c/build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'i2c/build/Makefile')
-rw-r--r--i2c/build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/i2c/build/Makefile b/i2c/build/Makefile
index bc1bd14..dc020c8 100644
--- a/i2c/build/Makefile
+++ b/i2c/build/Makefile
@@ -63,6 +63,7 @@ vfiles = \
include xilinx.mk
# 'clean' target collects files by project name, and we just broke that
+# by adding configurations
junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*.ngd *.ngm *.pcf *.post_map.twr *.post_map.twx *.prj *.prm *.psr \
@@ -71,6 +72,9 @@ junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*_par.ptwx *_par.unroutes *_par.xpi *_par_pad.csv *_par_pad.txt \
*_summary.xml *_usage.xml
+distclean: clean
+ rm core_selector.v core_vfiles.mk
+
# Fun extras for running verilator as a linter.
VERILATOR_FLAGS = --lint-only --top-module $(top_module) -Wall -Wno-fatal -Wno-DECLFILENAME