1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 16:57:30 +02:00
eda-tools/boom/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

29 lines
564 B
Makefile

DIST = dk
MANU = avx johanson murata panasonic stackpole tdk yageo
EQU = $(shell ./boom-config equ)
INV = $(shell ./boom-config inv)
DSC = $(shell ./boom-config dsc)
CHR = $(shell ./boom-config chr)
DB = $(EQU) $(INV) $(DSC) $(CHR)
.PHONY: all spotless tar count
all: boom-config
boom-config: boom-config.in Makefile
sed 's/##DIST##/$(DIST)/;s/##MANU##/$(MANU)/' boom-config.in \
>$@ || { rm -f $@; exit 1; }
chmod 755 boom-config
spotless:
rm -f boom-config
tar:
tar cfj boom-db.tar.bz2 boom-config $(DB)
count:
perl ./count.pl $(CHR)