]> git.zerfleddert.de Git - raggedstone/blobdiff - common/Makefile.common
make sure to touch the ngc file when synthesis completes, even if unchanged
[raggedstone] / common / Makefile.common
index bbf42182f35c96b6a4e7b16d8c94593f17b364f1..7b042b5f4ee1ad50eb35a8e00d73722e25369dfa 100644 (file)
@@ -7,7 +7,7 @@ CABLE ?= auto
 
 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 ?=
@@ -29,6 +29,7 @@ $(PROJECT).ngc: $(SOURCES) $(PROJECT).prj $(PROJECT).ucf $(PROJECT).xst
        @# 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
Impressum, Datenschutz