Root/components/Makefile

Source at commit 5ed16708597ccf77aca40505ca75716a6518b49e created 11 years 8 months ago.
By Werner Almesberger, modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile
1#
2# From http://svn.openmoko.org/trunk/gta02-core/components/
3#
4# Note that we don't have the concept of a "library of everything" so far.
5#
6
7GEN = gencon.lib
8
9.PHONY: all sch catalog view upload missing clean spotless
10
11all: $(GEN)
12
13# @echo "make what ? targets: sch loe"
14# @exit 1
15
16sch: $(GEN)
17        eeschema `pwd`/components.sch
18
19DESCR-dcm: *.dcm
20        ../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
21
22catalog catalog.pdf: EXPAND DESCR-dcm *.lib $(GEN)
23        genkicat -p -L . EXPAND DESCR-dcm >catalog.pdf || \
24          { rm -f catalog.pdf; exit 1; }
25
26view: catalog.pdf
27        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
28
29upload: catalog.pdf
30        qippl catalog.pdf tmp/kicad-libs-components.pdf
31
32missing: $(GEN)
33        ../scripts/missing-in-tree -L . EXPAND
34
35%.lib: %.pl
36        ./$< >$@ || { rm -f $@; exit 1; }
37
38#loe:
39# ./mkloe
40
41clean:
42        rm -f DESCR-dcm
43
44spotless: clean
45        rm -f catalog.pdf $(GEN)
46

Archive Download this file

Branches:
master



interactive