X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=86bdbbb60821d311d515e06beda42e127bd1d652;hb=6b4402904bb6d1e7952a10b405eb1dfa64d69475;hp=4ab419d29e0b6de5419872cf3bbd74ed1a5c47c0;hpb=6ebe9fb1b64c1120881215abac8156949b293997;p=hw%2Ftelepyro diff --git a/Makefile b/Makefile index 4ab419d..86bdbbb 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,12 @@ partslist: telepyro.sch tail -n+2 telepyro.unsorted | sort >> partslist rm -f telepyro.unsorted +partslist.csv: telepyro.sch Makefile + gnetlist -g partslist4 -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 @@ -34,7 +40,7 @@ telepyro.xy: telepyro.pcb telepyro.back.gbr: telepyro.pcb pcb -x gerber telepyro.pcb -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 +zip: telepyro.back.gbr telepyro.backmask.gbr telepyro.fab.gbr telepyro.front.gbr telepyro.frontmask.gbr telepyro.frontpaste.gbr telepyro.frontsilk.gbr telepyro.plated-drill.cnc zip telepyro.zip *.gbr *.cnc clean: