INTSTYLE := silent
-SOURCES := $(shell find . -name "*.vhd" -print) $(shell find . -name "*.v" -print)
+SOURCES := $(shell find . -wholename './tmp' -prune -o -name "*.vhd" -print) $(shell find . -wholename './tmp' -prune -o -name "*.v" -print)
PART ?= xc3s1500-fg456-4
TARGET ?= bit
CLEANFILES ?=
@# echo synclib > $(PROJECT).lso # hmm. things are different in ise 9.1
echo work > $(PROJECT).lso
xst -intstyle $(INTSTYLE) -ifn $(PROJECT).xst -ofn $(PROJECT).syr
+ @touch $(PROJECT).ngc
@#cat $(PROJECT).syr
$(PROJECT).ngd: $(PROJECT).ngc
$(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 \
+ @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* \
*.vm6 *.jed *.gyd *.mfd *.pnx *.rpt *.err *.log \
$(PROJECT)_map.* $(PROJECT)_pad.* \