From 184a6b097064e3bef688661b03f04fc5fa1dd3ce Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 14 Dec 2015 14:34:52 -0500 Subject: add makefile 'distclean' target to remove generated core selector --- i2c/build/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i2c') 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 -- cgit v1.2.3