X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=6ea381dffa0f4146c8db9b2c4a7ee4dceb1898b8;hb=3294990bbf9bb4cec3a7423e390cd7bb94a1fe68;hp=ff0eba6dd2507b788c2fa7123604e7dc797f55a0;hpb=b9f2d7ae3814f9a0d6af72ad001e1a4c29d3e818;p=hw%2Ftelenano diff --git a/Makefile b/Makefile index ff0eba6..6ea381d 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,22 @@ # intentionally want to rebuild drc and bom on every invocation all: drc partslist partslist.csv pcb -drc: picometrum.sch Makefile - -gnetlist -g drc2 picometrum.sch -o picometrum.drc - -partslist: picometrum.sch Makefile - gnetlist -g bom -o picometrum.unsorted picometrum.sch - head -n1 picometrum.unsorted > partslist - tail -n+2 picometrum.unsorted | sort >> partslist - rm -f picometrum.unsorted - -partslist.csv: picometrum.sch Makefile - gnetlist -g partslist4 -o picometrum.unsorted picometrum.sch - head -n1 picometrum.unsorted > partslist.csv - tail -n+2 picometrum.unsorted | sort -t \, -k 8 >> partslist.csv - rm -f picometrum.unsorted - -pcb: picometrum.sch project Makefile +drc: telenano.sch Makefile + -gnetlist -g drc2 telenano.sch -o telenano.drc + +partslist: telenano.sch Makefile + gnetlist -g bom -o telenano.unsorted telenano.sch + head -n1 telenano.unsorted > partslist + tail -n+2 telenano.unsorted | sort >> partslist + rm -f telenano.unsorted + +partslist.csv: telenano.sch Makefile + gnetlist -g partslist4 -o telenano.unsorted telenano.sch + head -n1 telenano.unsorted > partslist.csv + tail -n+2 telenano.unsorted | sort -t \, -k 8 >> partslist.csv + rm -f telenano.unsorted + +pcb: telenano.sch project Makefile gsch2pcb project # note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this @@ -34,11 +34,17 @@ pcb: picometrum.sch project Makefile push: git push --mirror -zip: picometrum.back.gbr picometrum.backmask.gbr picometrum.fab.gbr picometrum.front.gbr picometrum.frontmask.gbr picometrum.frontpaste.gbr picometrum.frontsilk.gbr picometrum.group2.gbr picometrum.group3.gbr picometrum.plated-drill.cnc picometrum.xy Makefile # picometrum.xls - zip picometrum.zip picometrum.*.gbr picometrum.*.cnc picometrum.xy # picometrum.xls +telenano.xy: telenano.pcb + pcb -x bom telenano.pcb + +telenano.back.gbr: telenano.pcb + pcb -x gerber telenano.pcb + +zip: telenano.back.gbr telenano.backmask.gbr telenano.fab.gbr telenano.front.gbr telenano.frontmask.gbr telenano.frontpaste.gbr telenano.frontsilk.gbr telenano.plated-drill.cnc telenano.xy Makefile # telenano.xls + zip telenano.zip telenano.*.gbr telenano.*.cnc telenano.xy # telenano.xls clean: - rm -f *.bom *.drc *.log *~ picometrum.ps *.gbr *.cnc *bak* *- *.zip + rm -f *.bom *.drc *.log *~ telenano.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd *.png partslist partslist.csv - rm -f *.partslist *.new.pcb *.unsorted picometrum.xls + rm -f *.partslist *.new.pcb *.unsorted telenano.xls