# intentionally want to rebuild drc and bom on every invocation all: drc partslist partslist.csv pcb drc: telescience.sch -gnetlist -g drc2 telescience.sch -o telescience.drc partslist: telescience.sch Makefile gnetlist -g bom -o telescience.unsorted telescience.sch head -n1 telescience.unsorted > partslist tail -n+2 telescience.unsorted | sort >> partslist rm -f telescience.unsorted partslist.csv: telescience.sch Makefile gnetlist -g partslist4 -o telescience.unsorted telescience.sch head -n1 telescience.unsorted > partslist.csv tail -n+2 telescience.unsorted | sort -t \, -k 8 >> partslist.csv rm -f telescience.unsorted pcb: telescience.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 telescience.xy: telescience.pcb pcb -x bom telescience.pcb telescience.back.gbr: telescience.pcb pcb -x gerber telescience.pcb zip: telescience.bottom.gbr telescience.bottommask.gbr telescience.fab.gbr telescience.top.gbr telescience.topmask.gbr telescience.toppaste.gbr telescience.topsilk.gbr telescience.plated-drill.cnc zip telescience.zip *.gbr *.cnc dorkbot: telescience.bottom.gbr telescience.bottommask.gbr telescience.top.gbr telescience.topmask.gbr telescience.topsilk.gbr telescience.plated-drill.cnc mv telescience.bottom.gbr bottom\ layer.ger mv telescience.bottommask.gbr bottom\ solder\ mask.ger mv telescience.bottomsilk.gbr bottom\ silk\ screen.ger mv telescience.outline.gbr board\ outline.ger mv telescience.top.gbr top\ layer.ger mv telescience.topmask.gbr top\ solder\ mask.ger mv telescience.topsilk.gbr top\ silk\ screen.ger mv telescience.plated-drill.cnc drills.xln zip telescience-dorkbot.zip *.ger *.xln clean: rm -f *.bom *.drc *.log *~ telescience.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd *.png partslist partslist.csv *.ger *.xln rm -f *.partslist *.new.pcb *.unsorted