X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=028d46216108a1f319eadae2e4a95ae290162949;hb=f7db3d6fc80b40caaf6e2817bc871c2d308ca26f;hp=caa3e3c3833ee19064bba60bfe8335a409d11245;hpb=5e9ba4e272797134e1677816178ac4e69a84cd48;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index caa3e3c..028d462 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,13 @@ # intentionally want to rebuild drc and bom on every invocation -all: drc bom pcb +all: drc partslist pcb drc: telemetrum.sch -gnetlist -g drc2 telemetrum.sch -o telemetrum.drc -# telemetrum.bom will be overwritten by PCB export BOM to get XYRS .. sigh -bom: telemetrum.sch +partslist: telemetrum.sch gnetlist -g bom -o telemetrum.unsorted telemetrum.sch - head -n1 telemetrum.unsorted > telemetrum.bom - tail -n+2 telemetrum.unsorted | sort >> telemetrum.bom + head -n1 telemetrum.unsorted > partslist + tail -n+2 telemetrum.unsorted | sort >> partslist rm -f telemetrum.unsorted pcb: telemetrum.sch project @@ -34,6 +33,6 @@ zip: telemetrum.back.gbr telemetrum.backmask.gbr telemetrum.fab.gbr telemetrum.f clean: rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd *.png + rm -f *.net *.xy *.cmd *.png partslist rm -f *.partslist *.new.pcb *.unsorted