X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=756c114afa0739457d4f572ba7113ba6401f8a92;hb=779fded0ffbef06fd123b08c3d5d70e2d9f4968c;hp=adf6ff82f9d990a6e02569d85c32064480e33352;hpb=908a69d9419a7729f82d53b1fc7833b993af5997;p=hw%2Ftelemega diff --git a/Makefile b/Makefile index adf6ff8..756c114 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ partslist: megametrum.sch Makefile rm -f megametrum.unsorted partslist.csv: megametrum.sch Makefile - gnetlist -g partslistgag -o megametrum.unsorted megametrum.sch + gnetlist -m scheme/gnet-partslistgag.scm -g partslistgag \ + -o megametrum.unsorted megametrum.sch head -n1 megametrum.unsorted > partslist.csv tail -n+2 megametrum.unsorted | sort -t \, -k 8 >> partslist.csv rm -f megametrum.unsorted @@ -37,14 +38,27 @@ push: megametrum.xy: megametrum.pcb pcb -x bom megametrum.pcb -megametrum.back.gbr: megametrum.pcb +megametrum.bottom.gbr: megametrum.pcb pcb -x gerber megametrum.pcb -zip: megametrum.back.gbr megametrum.backmask.gbr megametrum.fab.gbr megametrum.front.gbr megametrum.frontmask.gbr megametrum.frontpaste.gbr megametrum.frontsilk.gbr megametrum.group2.gbr megametrum.group3.gbr megametrum.plated-drill.cnc megametrum.xy Makefile # megametrum.xls +zip: megametrum.bottom.gbr megametrum.bottommask.gbr megametrum.fab.gbr megametrum.top.gbr megametrum.topmask.gbr megametrum.toppaste.gbr megametrum.topsilk.gbr megametrum.group2.gbr megametrum.group3.gbr megametrum.plated-drill.cnc megametrum.xy Makefile # megametrum.xls zip megametrum.zip megametrum.*.gbr megametrum.*.cnc megametrum.xy # megametrum.xls +oshpark: megametrum.bottom.gbr megametrum.bottommask.gbr megametrum.top.gbr megametrum.topmask.gbr megametrum.topsilk.gbr megametrum.plated-drill.cnc + mv megametrum.bottom.gbr bottom\ layer.ger + mv megametrum.bottommask.gbr bottom\ solder\ mask.ger + mv megametrum.bottomsilk.gbr bottom\ silk\ screen.ger + mv megametrum.outline.gbr board\ outline.ger + mv megametrum.top.gbr top\ layer.ger + mv megametrum.topmask.gbr top\ solder\ mask.ger + mv megametrum.topsilk.gbr top\ silk\ screen.ger + mv megametrum.plated-drill.cnc drills.xln + mv megametrum.group2.gbr internal\ plane\ 1.ger + mv megametrum.group3.gbr internal\ plane\ 2.ger + zip megametrum-dorkbot.zip *.ger *.xln + clean: rm -f *.bom *.drc *.log *~ megametrum.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd *.png partslist partslist.csv + rm -f *.net *.xy *.cmd *.png partslist partslist.csv *.ger *.xln rm -f *.partslist *.new.pcb *.unsorted megametrum.xls