Root/components/Makefile

Source at commit 1df00971ec537cb0417efbde9564b85120c861c2 created 7 years 7 months ago.
By Adam Wang, diodes_inc.lib: AP21X2A -> changed to nRESET and FLG pins to inverted style.
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
7.PHONY: all sch catalog view upload missing clean spotless
8
9all: sch
10
11# @echo "make what ? targets: sch loe"
12# @exit 1
13
14sch:
15        eeschema `pwd`/components.sch
16
17DESCR-dcm: *.dcm
18        ../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
19
20catalog catalog.pdf: EXPAND DESCR-dcm *.lib
21        genex -p -L . EXPAND DESCR-dcm >catalog.pdf || \
22          { rm -f catalog.pdf; exit 1; }
23
24view: catalog.pdf
25        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
26
27upload: catalog.pdf
28        qippl catalog.pdf tmp/kicad-libs-components.pdf
29
30missing:
31        ../scripts/missing-in-tree -L . EXPAND
32
33#loe:
34# ./mkloe
35
36clean:
37        rm -f DESCR-dcm
38
39spotless: clean
40        rm -f catalog.pdf
41

Archive Download this file

Branches:
master



interactive