Rev 279 | Rev 320 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 279 | Rev 296 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | .PHONY: drc partlist |
1 | .PHONY: drc partlist |
2 | 2 | ||
3 | 3 | ||
4 | SCH=$(shell ls sch/*sch) |
4 | SCH=$(shell ls sch/*sch) |
5 | 5 | ||
6 | all: dirs drc partlist |
6 | all: dirs drc $(patsubst %.sch, %.bom, $(SCH)); |
7 | 7 | ||
8 | # hackish somewhat |
8 | # hackish somewhat |
9 | dirs: |
9 | dirs: |
10 | if [ ! -e tmp ]; then mkdir tmp; fi |
10 | if [ ! -e tmp ]; then mkdir tmp; fi |
11 | 11 | ||
Line 19... | Line 19... | ||
19 | tmp/%.txt: sch/%.sch |
19 | tmp/%.txt: sch/%.sch |
20 | gnetlist -g partslist3 -o $@ $^ |
20 | gnetlist -g partslist3 -o $@ $^ |
21 | 21 | ||
22 | drc/%.drc: sch/%.sch |
22 | drc/%.drc: sch/%.sch |
23 | gnetlist -g drc2 -o $@ $^ |
23 | gnetlist -g drc2 -o $@ $^ |
- | 24 | ||
- | 25 | sch/%.bom: sch/%.sch |
|
- | 26 | gnetlist -g partslist1 -n -o $@ $^ |