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 ?=
$(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* \
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