aboutsummaryrefslogtreecommitdiff
path: root/i2c/build
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-12-14 14:34:52 -0500
committerPaul Selkirk <paul@psgd.org>2015-12-14 14:34:52 -0500
commit184a6b097064e3bef688661b03f04fc5fa1dd3ce (patch)
tree695aaf5f140fbf9bdf5380da09a3fdf6478ba3d0 /i2c/build
parent40c4839728c65618465cfb66cbd489ac86c97727 (diff)
add makefile 'distclean' target to remove generated core selector
Diffstat (limited to 'i2c/build')
-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