Root/modules/Makefile

Source at commit 34a20f9778bd227c3550139631fd5943dfa63d23 created 4 years 6 months ago.
By Werner Almesberger, modules/memcard8-hirose-dm3cs.fpd: Hirose DM3CS memory card holder
1MODULES=0805-6 1059 8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
2    bat-clip-aa-th bga \
3    c-smd c-t-smd \
4    dcjack df40 dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
5    e-switch320 er-oled-fpc30 eus evqq7 \
6        fiducial \
7    header he-2row-dip he-shrouded \
8    inductor-2p ir \
9    lga ledsmd lp2032sm \
10    mdip meander-2450MHz memcard8-amp-10100660 memcard8-hirose-dm3cs \
11    memcard8-jae-st1w008s4b memcard8-molex-1050270001 \
12    mic-ra-dip mini-usb\
13    pads pads-array phonejack pogo \
14    qfn qfp \
15    rca-3-ra rev-led rj45 \
16    sod soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
17    tact-4-rect-smt tactile-sw-spst-ra-dip to tsop tssop5 tswa \
18    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
19    usb_a_rcpt_mid \
20    xlr-plug xlr-socket \
21     xtal-2 xtal-4 \
22    zx62-b-5pa zx62m-b-5p
23
24SHELL = /bin/bash
25
26TITLE_NAME = FOOTPRINTS/MODULES
27TITLE_FILE = kicad-libs-modules.pdf
28
29.SUFFIXES: .fpd .mod
30.PHONY: all brd catalog view upload missing clean spotless
31
32all: $(MODULES:%=%.mod)
33
34.fpd.mod:
35        fped -k $< $@
36
37modules.pro: Makefile
38        ../scripts/modules-pro template.pro $(MODULES) >$@ || \
39            { rm -f $@; exit 1; }
40
41brd: all modules.pro
42        pcbnew `pwd`/modules.brd
43
44include ../common/Makefile.title
45
46catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
47        $(MAKE) title.ps
48        genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
49          HIERARCHY DESCR >catalog.pdf || \
50          { rm -f catalog.pdf; exit 1; }
51
52view: catalog.pdf
53        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
54
55upload: catalog.pdf
56        qippl catalog.pdf tmp/kicad-libs-modules.pdf
57
58missing:
59        ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
60
61clean:
62        rm -f *~*.fpd
63        rm -f title.ps
64
65spotless: clean
66        rm -f $(MODULES:%=%.mod)
67        rm -f modules.pro
68

Archive Download this file

Branches:
master



interactive