X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=e90b883ed1e47dd9cbda513f6e64feb689646615;hb=b96e917c71f9017c06ff6ae5ffae8c949248ff6a;hp=9cdc1f4edebb82a110129e9bfff29dd9d15d1a96;hpb=36b4b76d118b0ffd8f212c92c9aace20ed67afc5;p=hw%2Feasymini diff --git a/Makefile b/Makefile index 9cdc1f4..e90b883 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROJECT=easymetrum +PROJECT=easymini AM=../altusmetrum SCHEME=$(AM)/scheme NICKLE=$(AM)/nickle @@ -30,21 +30,6 @@ muffin-5267.pdf: partslist.csv $(AM)/glabels/muffin-5267.glabels pcb: $(PROJECT).sch project Makefile gsch2pcb project -# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this -# might be a really good idea for publishing designs to the web that others -# might review? Like this example from DJ: -# -#web : -# for i in channel.sch ethernet.sch power.sch mcu.sch; do \ -# cp $$i tmp.sch ; \ -# gschlas -e tmp.sch ; \ -# mv tmp.sch ${WEB}/$$i; \ -# done - -# this shoves local work out to the git.gag.com repository -push: - git push --mirror - $(PROJECT).xy: $(PROJECT).pcb pcb -x bom $(PROJECT).pcb @@ -53,7 +38,7 @@ $(PROJECT).gerb: $(PROJECT).pcb pcb -x gerber $(PROJECT).pcb touch $@ -zip: $(PROJECT).zip $(PROJECT)-stencil.zip +zip: $(PROJECT).zip $(PROJECT)-stencil.zip $(PROJECT)-oshpark.zip $(PROJECT).zip: $(PROJECT).gerb $(PROJECT).xy rm -f $@ @@ -63,6 +48,17 @@ $(PROJECT)-stencil.zip: $(PROJECT).gerb rm -f $@ zip $@ $(PROJECT).toppaste.gbr $(PROJECT).outline.gbr +$(PROJECT)-oshpark.zip: $(PROJECT).gerb + mv easymini.bottom.gbr bottom\ layer.ger + mv easymini.bottommask.gbr bottom\ solder\ mask.ger + mv easymini.bottomsilk.gbr bottom\ silk\ screen.ger + mv easymini.outline.gbr board\ outline.ger + mv easymini.top.gbr top\ layer.ger + mv easymini.topmask.gbr top\ solder\ mask.ger + mv easymini.topsilk.gbr top\ silk\ screen.ger + mv easymini.plated-drill.cnc drills.xln + zip easymini-oshpark.zip *.ger *.xln + clean: rm -f *.bom *.drc *.log *~ $(PROJECT).ps *.gbr $(PROJECT).gerb *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd *.png partslist partslist.csv partslist.dk partslist.mouser muffin-5267.pdf