X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=af611bc816af0b38ebad1f11a7a4844b51682678;hb=2c339fff43aee3100f92f3e06dc96dcba2ea07d9;hp=23cf8f36546d2f292d8593e16b0240f970dc1596;hpb=e2ffd6be3b34e2283e9b1a2c2ac9c709c90447f9;p=hw%2Ftelepyro diff --git a/Makefile b/Makefile index 23cf8f3..af611bc 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,11 +40,11 @@ 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.plated-drill.cnc +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