1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-29 15:02:29 +02:00

dist/dk/Makefile (count): new target to count the number of parts we have

This commit is contained in:
Werner Almesberger 2010-10-17 13:59:08 -03:00
parent d816e82d1e
commit 1f52cc962f

View File

@ -4,7 +4,7 @@ PARTS = avx-cersmt murata-grm panasonic-erj stackpole-rmcf \
.SECONDARY: # prevent *.cache from being automatically deleted .SECONDARY: # prevent *.cache from being automatically deleted
.PHONY: all clean rebuild update spotless .PHONY: all clean rebuild update spotless count
all: $(MASTER) \ all: $(MASTER) \
$(PARTS:%=db/%.equ) \ $(PARTS:%=db/%.equ) \
@ -74,3 +74,6 @@ update: rebuild
spotless: update spotless: update
rm -f $(PARTS:%=db/%.equ) rm -f $(PARTS:%=db/%.equ)
count:
grep DIGI-KEY db/*.equ | wc -l