Root/modules/Makefile

Source at commit 5ed16708597ccf77aca40505ca75716a6518b49e created 7 years 1 month ago.
By Werner Almesberger, modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile
1MODULES=8_10-card 8_10-socket-ra \
2    bat-clip-aa-th bga \
3    c-smd c-t-smd \
4    dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
5    eus \
6        fiducial \
7    header he-2row-dip he-shrouded \
8    ir \
9    ledsmd \
10    mdip meander-2450MHz mic-ra-dip mini-usb\
11    pads pads-array phonejack \
12    qfn qfp \
13    rca-3-ra rj45 \
14    soic sot23 spacer sot sot-323 ssop stdpass \
15    tactile-sw-spst-ra-dip to tsop tssop5 \
16    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt \
17    xlr-plug xlr-socket \
18     xtal-2 xtal-4 \
19
20.SUFFIXES: .fpd .mod
21.PHONY: all catalog view upload missing clean spotless
22
23all: $(MODULES:%=%.mod)
24
25.fpd.mod:
26        fped -k $< $@
27
28catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
29        genkicat -F -p $(MODULES:%=-l %.fpd) HIERARCHY DESCR \
30          >catalog.pdf || \
31          { rm -f catalog.pdf; exit 1; }
32
33view: catalog.pdf
34        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
35
36upload: catalog.pdf
37        qippl catalog.pdf tmp/kicad-libs-modules.pdf
38
39missing:
40        ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
41
42clean:
43        rm -f *~*.fpd
44
45spotless: clean
46        rm -f $(MODULES:%=%.mod)
47
48

Archive Download this file

Branches:
master



interactive