X-Git-Url: https://git.gag.com/?p=hw%2Ftelepyro;a=blobdiff_plain;f=Makefile;h=1e6c192a78a34881e3e89f4f101ecd31c69ee74f;hp=9a6d78b8309dd3c56c3e07865b0b8c1de5cb6f64;hb=359b345f8787b2977cffbca5bc7dafbecceedd3f;hpb=a98484321b11d246660357ac5b8575590798b768 diff --git a/Makefile b/Makefile index 9a6d78b..1e6c192 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # intentionally want to rebuild drc and bom on every invocation -all: drc partslist +all: drc partslist partslist.csv pcb drc: telepyro.sch -gnetlist -g drc2 telepyro.sch -o telepyro.drc @@ -10,6 +10,13 @@ partslist: telepyro.sch tail -n+2 telepyro.unsorted | sort >> partslist rm -f telepyro.unsorted +partslist.csv: telepyro.sch Makefile + gnetlist -m scheme/gnet-partslistgag.scm -g partslistgag \ + -o telepyro.unsorted telepyro.sch + head -n1 telepyro.unsorted > partslist.csv + tail -n+2 telepyro.unsorted | sort -t \, -k 8 >> partslist.csv + rm -f telepyro.unsorted + pcb: telepyro.sch project gsch2pcb project @@ -28,11 +35,17 @@ pcb: telepyro.sch project push: git push --mirror -zip: telepyro.back.gbr telepyro.backmask.gbr telepyro.fab.gbr telepyro.front.gbr telepyro.frontmask.gbr telepyro.frontpaste.gbr telepyro.frontsilk.gbr telepyro.group2.gbr telepyro.group3.gbr telepyro.plated-drill.cnc +telepyro.xy: telepyro.pcb + pcb -x bom telepyro.pcb + +telepyro.back.gbr: telepyro.pcb + pcb -x gerber telepyro.pcb + +zip: telepyro.bottom.gbr telepyro.bottommask.gbr telepyro.fab.gbr telepyro.top.gbr telepyro.topmask.gbr telepyro.toppaste.gbr telepyro.topsilk.gbr telepyro.plated-drill.cnc zip telepyro.zip *.gbr *.cnc clean: rm -f *.bom *.drc *.log *~ telepyro.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd *.png partslist + rm -f *.net *.xy *.cmd *.png partslist partslist.csv rm -f *.partslist *.new.pcb *.unsorted