aboutsummaryrefslogtreecommitdiff
path: root/eim/build/Makefile
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 /eim/build/Makefile
parent40c4839728c65618465cfb66cbd489ac86c97727 (diff)
add makefile 'distclean' target to remove generated core selector
Diffstat (limited to 'eim/build/Makefile')
-rw-r--r--eim/build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/eim/build/Makefile b/eim/build/Makefile
index bd9e8b8..8b984a2 100644
--- a/eim/build/Makefile
+++ b/eim/build/Makefile
@@ -68,6 +68,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 \
@@ -76,6 +77,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