X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=d2296d6ec5edc970c8cb0dbec441fe3e61cb5be9;hb=cd23d8d06effd21d7e806eafb976d7809909d593;hp=ca739223642892dd49319f2d40dc9ad6c82d6b3a;hpb=43fcfa3ad155fce1f287b22a20af871effcb37e9;p=hw%2Fteledongle diff --git a/Makefile b/Makefile index ca73922..d2296d6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # intentionally want to rebuild drc and bom on every invocation -all: drc partslist pcb +all: drc partslist partslist.csv pcb drc: teledongle.sch -gnetlist -g drc2 teledongle.sch -o teledongle.drc @@ -10,6 +10,12 @@ partslist: teledongle.sch tail -n+2 teledongle.unsorted | sort >> partslist rm -f teledongle.unsorted +partslist.csv: teledongle.sch Makefile + gnetlist -g partslist4 -o teledongle.unsorted teledongle.sch + head -n1 teledongle.unsorted > partslist.csv + tail -n+2 teledongle.unsorted | sort -t \, -k 8 >> partslist.csv + rm -f teledongle.unsorted + pcb: teledongle.sch project gsch2pcb project @@ -33,6 +39,6 @@ zip: teledongle.back.gbr teledongle.backmask.gbr teledongle.fab.gbr teledongle.f clean: rm -f *.bom *.drc *.log *~ teledongle.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd *.png partslist + rm -f *.net *.xy *.cmd *.png partslist partslist.csv rm -f *.partslist *.new.pcb *.unsorted