From 6b4402904bb6d1e7952a10b405eb1dfa64d69475 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 25 Apr 2011 19:01:07 -0600 Subject: [PATCH] add partslist.csv creation to the Makefile --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 23cf8f3..86bdbbb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # intentionally want to rebuild drc and bom on every invocation -all: drc partslist +all: drc partslist partslist.csv pcb drc: telepyro.sch -gnetlist -g drc2 telepyro.sch -o telepyro.drc @@ -10,6 +10,12 @@ partslist: telepyro.sch tail -n+2 telepyro.unsorted | sort >> partslist rm -f telepyro.unsorted +partslist.csv: telepyro.sch Makefile + gnetlist -g partslist4 -o telepyro.unsorted telepyro.sch + head -n1 telepyro.unsorted > partslist.csv + tail -n+2 telepyro.unsorted | sort -t \, -k 8 >> partslist.csv + rm -f telepyro.unsorted + pcb: telepyro.sch project gsch2pcb project -- 2.30.2