1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-12-27 09:43:18 +02:00
kicad-libs/modules/Makefile
Werner Almesberger cce90811d9 modules/: "make brd" opens pcbnew for footprint examination
The profile is automatically generated from the list of modules.
2012-12-20 22:42:55 -03:00

56 lines
1.2 KiB
Makefile

MODULES=8_10-card 8_10-socket-ra \
bat-clip-aa-th bga \
c-smd c-t-smd \
dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
e-switch320 eus evqq7 \
fiducial \
header he-2row-dip he-shrouded \
ir \
ledsmd \
mdip meander-2450MHz mic-ra-dip mini-usb\
pads pads-array phonejack \
qfn qfp \
rca-3-ra rj45 \
soic sot23 spacer sot sot-323 ssop stdpass \
tactile-sw-spst-ra-dip to tsop tssop5 \
usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt \
xlr-plug xlr-socket \
xtal-2 xtal-4 \
zx62-b-5pa zx62m-b-5p
.SUFFIXES: .fpd .mod
.PHONY: all brd catalog view upload missing clean spotless
all: $(MODULES:%=%.mod)
.fpd.mod:
fped -k $< $@
modules.pro: Makefile
../scripts/modules-pro template.pro $(MODULES) >$@ || \
{ rm -f $@; exit 1; }
brd: all modules.pro
pcbnew `pwd`/modules.brd
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
genkicat -F -p $(MODULES:%=-l %.fpd) HIERARCHY DESCR \
>catalog.pdf || \
{ rm -f catalog.pdf; exit 1; }
view: catalog.pdf
$${DSV_PDFVIEWER:-xpdf} catalog.pdf
upload: catalog.pdf
qippl catalog.pdf tmp/kicad-libs-modules.pdf
missing:
../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
clean:
rm -f *~*.fpd
spotless: clean
rm -f $(MODULES:%=%.mod)
rm -f modules.pro