1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-16 22:44:05 +02:00
eda-tools/boom/test/Makefile
Werner Almesberger 0a86c10803 Generate script boom-config that lists all the database paths, like pkg-config
- boom/Makefile: generate boom-config
- boom/boom-config.in: template for boom-config script
- boom/Makefile (EQU, INV, DSC, CHR): use boom-config
- boom/test/Makefile (EQU, INV, DSC, CHR): use boom-config
2010-10-17 19:58:59 -03:00

33 lines
670 B
Makefile

BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
KITS = 1
EQU = $(shell ../boom-config equ)
INV = $(shell ../boom-config inv)
DSC = $(shell ../boom-config dsc)
CHR = $(shell ../boom-config 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