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