X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/12bc1626ea861c69fbbd136ae81e4d7f0055ab9f..48eafd87cee5102f0ab7db730c049276c7c8a7bb:/common/Makefile.common?ds=inline diff --git a/common/Makefile.common b/common/Makefile.common index 534fe6d..5d56156 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -10,6 +10,7 @@ INTSTYLE := silent SOURCES = $(wildcard sources/*.v source/*.vhd) PART ?= xc3s1500-fg456-4 TARGET ?= bit +CLEANFILES ?= ifdef DRIVER PRELOAD = LD_PRELOAD=$(DRIVER) @@ -78,12 +79,12 @@ flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs @rm xcf.batch.tmp clean: - @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd *.edn \ + @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd *.edn *.ncf *.ngo \ *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact* \ - *.vm6 *.jed *.gyd *.mfd *.pnx *.rpt *.err \ + *.vm6 *.jed *.gyd *.mfd *.pnx *.rpt *.err *.log \ $(PROJECT)_map.* $(PROJECT)_pad.* \ _ngo xst \ build.log \ - $(PROJECT).unroutes *.xml + $(PROJECT).unroutes *.xml $(CLEANFILES) .PHONY: all final burn load flash clean xst ngdbuild log