projects
/
hw
/
telepyro
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2570167
)
add partslist.csv creation to the Makefile
author
Bdale Garbee
<bdale@gag.com>
Tue, 26 Apr 2011 01:01:07 +0000
(19:01 -0600)
committer
Bdale Garbee
<bdale@gag.com>
Tue, 26 Apr 2011 01:01:07 +0000
(19:01 -0600)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 23cf8f36546d2f292d8593e16b0240f970dc1596..86bdbbb60821d311d515e06beda42e127bd1d652 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,5
@@
# intentionally want to rebuild drc and bom on every invocation
# 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
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
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
pcb: telepyro.sch project
gsch2pcb project