# intentionally want to rebuild drc and bom on every invocation all: drc partslist pcb drc: teledongle.sch -gnetlist -g drc2 teledongle.sch -o teledongle.drc partslist: teledongle.sch gnetlist -g bom -o teledongle.unsorted teledongle.sch head -n1 teledongle.unsorted > partslist tail -n+2 teledongle.unsorted | sort >> partslist rm -f teledongle.unsorted pcb: teledongle.sch project 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 zip: teledongle.back.gbr teledongle.backmask.gbr teledongle.fab.gbr teledongle.front.gbr teledongle.frontmask.gbr teledongle.frontpaste.gbr teledongle.frontsilk.gbr teledongle.group2.gbr teledongle.group3.gbr teledongle.plated-drill.cnc zip teledongle.zip *.gbr *.cnc clean: rm -f *.bom *.drc *.log *~ teledongle.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd *.png partslist rm -f *.partslist *.new.pcb *.unsorted