1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-23 02:31:54 +02:00
kicad-libs/modules/Makefile

65 lines
1.5 KiB
Makefile
Raw Normal View History

MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
bat-clip-aa-th bga \
c-smd c-t-smd \
dcjack dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
e-switch320 er-oled-fpc30 eus evqq7 \
fiducial \
header he-2row-dip he-shrouded \
inductor-2p ir \
lga ledsmd \
mdip meander-2450MHz memcard8-amp-10100660 mic-ra-dip mini-usb\
pads pads-array phonejack \
qfn qfp \
rca-3-ra rj45 \
soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
tactile-sw-spst-ra-dip to tsop tssop5 tswa \
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
SHELL = /bin/bash
TITLE_NAME = FOOTPRINTS/MODULES
TITLE_FILE = kicad-libs-modules.pdf
.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
include ../common/Makefile.title
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
$(MAKE) title.ps
genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
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
rm -f title.ps
spotless: clean
rm -f $(MODULES:%=%.mod)
rm -f modules.pro