]> git.gag.com Git - hw/telemega/blobdiff - Makefile
add stencil target
[hw/telemega] / Makefile
index c107ca92e050151edcf4dc97ba18106f18cc631f..f9c7d703c54a0d842f8c075855cbc804fff90769 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,24 @@ megametrum.bottom.gbr:       megametrum.pcb
 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-oshpark.zip *.ger *.xln
+
+stencil:       megametrum.bottom.gbr megametrum.toppaste.gbr megametrum.outline.gbr
+       zip megametrum-stencil.zip megametrum.toppaste.gbr megametrum.outline.gbr
+
 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