1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-10-01 12:05:06 +03:00
eda-tools/boom/Makefile
Werner Almesberger df88430d48 Test query to exercise the big resistor database we now have.
- boom/test.mbq: sample query (a bunch of 0402 resistors)
- boom/test.sub: basic substitution rules
- boom/Makefile: tie it all together
2010-10-16 08:18:51 -03:00

32 lines
677 B
Makefile

BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
KITS = 1
INV = dist/dk/db/digi-key.inv
EQU = dist/dk/db/digi-key.equ
DSC = dist/dk/db/digi-key.dsc
CHR = manu/panasonic/panasonic.chr manu/stackpole/stackpole.chr
.PHONY: all show again
all: show
show: test.ord $(DSC)
$(BOOM) prettyord -t $^
again:
$(MAKE) spotless
$(MAKE) all
test.ord: test.par $(INV) $(EQU)
$(BOOM) part2order $(KITS) $^ >$@ || { rm -f $@; exit 1; }
test.par: $(EQU) $(INV) $(CHR) test.lst test.sub
$(BOOM) bom2part $^ >$@ || { rm -f $@; exit 1; }
test.lst: test.mbq
perl ./mbq2lst $^ >$@ || { rm -f $@; exit 1; }
spotless:
rm -f test.lst test.par test.ord