mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-06 03:28:26 +02:00
61bfa83475
- boom/test.mbq, boom/test.sub: moved to boom/test/ - boom/Makefile: moved all items related to running the test to test/Makefile
35 lines
707 B
Makefile
35 lines
707 B
Makefile
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
|
|
|
KITS = 1
|
|
|
|
MANU = avx johanson murata panasonic stackpole tdk yageo
|
|
|
|
EQU = ../dist/all.equ
|
|
INV = ../dist/all.inv
|
|
DSC = ../dist/all.dsc
|
|
CHR = $(foreach m,$(MANU),../manu/$(m)/$(m).chr)
|
|
|
|
|
|
.PHONY: all show again spotless
|
|
|
|
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
|