2010-10-17 07:36:02 +03:00
|
|
|
DIST = dk
|
2010-10-17 21:10:55 +03:00
|
|
|
MANU = avx johanson murata panasonic stackpole tdk yageo
|
2010-10-17 07:36:02 +03:00
|
|
|
|
2010-10-18 01:58:59 +03:00
|
|
|
EQU = $(shell ./boom-config equ)
|
|
|
|
INV = $(shell ./boom-config inv)
|
|
|
|
DSC = $(shell ./boom-config dsc)
|
|
|
|
CHR = $(shell ./boom-config chr)
|
2010-10-17 05:59:00 +03:00
|
|
|
|
2010-10-18 01:58:59 +03:00
|
|
|
DB = $(EQU) $(INV) $(DSC) $(CHR)
|
2010-10-17 04:14:59 +03:00
|
|
|
|
|
|
|
|
2010-10-18 01:44:29 +03:00
|
|
|
.PHONY: all spotless tar count
|
2010-10-16 14:18:51 +03:00
|
|
|
|
2010-10-18 01:58:59 +03:00
|
|
|
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
|
2010-10-16 14:18:51 +03:00
|
|
|
|
|
|
|
spotless:
|
2010-10-18 01:58:59 +03:00
|
|
|
rm -f boom-config
|
2010-10-17 04:14:59 +03:00
|
|
|
|
|
|
|
tar:
|
2010-10-18 01:58:59 +03:00
|
|
|
tar cfj boom-db.tar.bz2 boom-config $(DB)
|
2010-10-17 22:19:49 +03:00
|
|
|
|
|
|
|
count:
|
|
|
|
perl ./count.pl $(CHR)
|