TMP = tmp/
$(shell mkdir tmp)
-PROJECT := pci_7seg
+PROJECT := raggedstone
all: xst ngdbuild map par trace prom final
-mv $(PROJECT).unroutes *.xml $(TMP)
-mv $(PROJECT)*.map $(TMP)
-mv $(PROJECT).ncd $(TMP)
- -grep -A 8 -B 1 ^Selected\ Device tmp/build.xst.log
+ -grep -A 8 -B 1 ^Selected\ Device tmp/$(PROJECT).syr
-grep -A 8 -B 1 ^Timing\ Summary tmp/build.xst.log
-grep -A 21 -B 1 ^Design\ Summary tmp/build.map.log
clean:
rm -rf $(TMP)
rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd
- rm -rf *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs
+ rm -rf *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact*
rm -rf $(PROJECT)_map.* $(PROJECT)_pad.*
rm -rf _ngo xst
rm -rf build.log