X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/eca4cd1b9721c52153ad7f88bfe8e848ff07f968..ffdaba18b3414c86a37889c31ced80a16676f3f4:/common/Makefile.common diff --git a/common/Makefile.common b/common/Makefile.common index fa67e3b..e9d4cfe 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -7,7 +7,7 @@ CABLE ?= auto INTSTYLE := silent -SOURCES = $(wildcard sources/*.v source/*.vhd) +SOURCES := $(shell find . -name "*.vhd" -print) $(shell find . -name "*.v" -print) PART ?= xc3s1500-fg456-4 TARGET ?= bit CLEANFILES ?= @@ -78,6 +78,9 @@ flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs $(PRELOAD) impact -batch xcf.batch.tmp @rm xcf.batch.tmp +analyzer: + $(CHIPSCOPE)/bin/lin/analyzer.sh -project $(PWD)/$(PROJECT).cpj + clean: @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd *.edn *.ncf *.ngo *.cdc \ *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact* \ @@ -87,4 +90,4 @@ clean: build.log \ $(PROJECT).unroutes *.xml $(CLEANFILES) -.PHONY: all final burn load flash clean xst ngdbuild log +.PHONY: all final burn load flash clean xst ngdbuild log analyzer