]> git.zerfleddert.de Git - raggedstone/blobdiff - heartbeat/Makefile
some more dependencies
[raggedstone] / heartbeat / Makefile
index 7688155fbe434fe038cda604d75c16d85b992ff3..13045a95ef7be361860acaaf72f971bfe8a9f505 100644 (file)
@@ -41,21 +41,21 @@ $(PROJECT).bit: $(PROJECT).ncd
        @#cat $(PROJECT).drc
        @#cat $(PROJECT).bgn
 
        @#cat $(PROJECT).drc
        @#cat $(PROJECT).bgn
 
-mcs:
-       promgen -intstyle $(INTSTYLE) -w -p mcs -u 0 $(PROJECT) -o pci1 pci2 -x xcf02s xcf04s
+$(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs: $(PROJECT).bit
+       promgen -intstyle $(INTSTYLE) -w -p mcs -u 0 $(PROJECT) -o $(PROJECT)-xcf02s $(PROJECT)-xcf04s -x xcf02s xcf04s
 
 final:
        -@grep -A 8 -B 1 ^Selected\ Device $(PROJECT).syr
        -@grep -A 8 -B 1 ^Timing\ Summary $(PROJECT).syr
        -@grep -A 21 -B 1 ^Design\ Summary $(PROJECT)_map.map
 
 
 final:
        -@grep -A 8 -B 1 ^Selected\ Device $(PROJECT).syr
        -@grep -A 8 -B 1 ^Timing\ Summary $(PROJECT).syr
        -@grep -A 21 -B 1 ^Design\ Summary $(PROJECT)_map.map
 
-burn:
+burn: $(PROJECT).bit
        xc3sprog $(PROJECT).bit
 
        xc3sprog $(PROJECT).bit
 
-load:
+load: $(PROJECT).bit
        impact -batch xc3s1500.batch
 
        impact -batch xc3s1500.batch
 
-flash: mcs
+flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
        impact -batch xcf.batch
 
 clean:
        impact -batch xcf.batch
 
 clean:
@@ -65,3 +65,5 @@ clean:
                _ngo xst  \
                build.log \
                $(PROJECT).unroutes *.xml
                _ngo xst  \
                build.log \
                $(PROJECT).unroutes *.xml
+
+.PHONY: all final burn load flash clean xst ngdbuild log
Impressum, Datenschutz