1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2025-04-21 12:17:26 +03:00

modules/: "make brd" opens pcbnew for footprint examination

The profile is automatically generated from the list of modules.
This commit is contained in:
Werner Almesberger
2012-12-20 22:40:09 -03:00
parent 94f902495c
commit cce90811d9
3 changed files with 64 additions and 2 deletions

View File

@@ -19,13 +19,20 @@ MODULES=8_10-card 8_10-socket-ra \
zx62-b-5pa zx62m-b-5p
.SUFFIXES: .fpd .mod
.PHONY: all catalog view upload missing clean spotless
.PHONY: all brd catalog view upload missing clean spotless
all: $(MODULES:%=%.mod)
.fpd.mod:
fped -k $< $@
modules.pro: Makefile
../scripts/modules-pro template.pro $(MODULES) >$@ || \
{ rm -f $@; exit 1; }
brd: all modules.pro
pcbnew `pwd`/modules.brd
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
genkicat -F -p $(MODULES:%=-l %.fpd) HIERARCHY DESCR \
>catalog.pdf || \
@@ -45,4 +52,4 @@ clean:
spotless: clean
rm -f $(MODULES:%=%.mod)
rm -f modules.pro

22
modules/template.pro Normal file
View File

@@ -0,0 +1,22 @@
update=Thu Dec 20 21:59:41 2012
last_client=pcbnew
[pcbnew]
version=1
LastNetListRead=
PadDrlX=320
PadDimH=600
PadDimV=600
BoardThickness=630
TxtPcbV=800
TxtPcbH=600
TxtModV=600
TxtModH=600
TxtModW=120
VEgarde=100
DrawLar=150
EdgeLar=150
TxtLar=120
MSegLar=150
[pcbnew/libraries]
LibDir=
LibName1=qfn