Root/components/Makefile

Source at commit e33b87ae2e26c6b06a01ea5acd82f4bc2a3247b5 created 11 years 11 months ago.
By Adam Wang, Merge branch 'master' of projects.qi-hardware.com:kicad-libs
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