# intentionally want to rebuild drc and bom on every invocation
-all: drc bom
+all: drc partslist
drc: telepyro.sch
-gnetlist -g drc2 telepyro.sch -o telepyro.drc
-bom: telepyro.sch
+partslist: telepyro.sch
gnetlist -g bom -o telepyro.unsorted telepyro.sch
- head -n1 telepyro.unsorted > telepyro.bom
- tail -n+2 telepyro.unsorted | sort >> telepyro.bom
+ head -n1 telepyro.unsorted > partslist
+ tail -n+2 telepyro.unsorted | sort >> partslist
rm -f telepyro.unsorted
pcb: telepyro.sch project
clean:
rm -f *.bom *.drc *.log *~ telepyro.ps *.gbr *.cnc *bak* *- *.zip
- rm -f *.net *.xy *.cmd *.png
+ rm -f *.net *.xy *.cmd *.png partslist
rm -f *.partslist *.new.pcb *.unsorted