# 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.back.gbr telescience.backmask.gbr telescience.fab.gbr telescience.front.gbr telescience.frontmask.gbr telescience.frontpaste.gbr telescience.frontsilk.gbr telescience.plated-drill.cnc zip telescience.zip *.gbr *.cnc clean: rm -f *.bom *.drc *.log *~ telescience.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd *.png partslist partslist.csv rm -f *.partslist *.new.pcb *.unsorted