1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-04 23:04:38 +02:00

Makefile.kicad: added generation of a positioning for the SMT fab

- Makefile.kicad ($(NAME)Front.pos): --origin does nothing with --pos;
  removed it
- Makefile.kicad ($(NAME)-pos.csv): use pos2fab to generate a positioning
  file for the SMT fab
- Makefile.kicad (clean): remove $(NAME)Front.pos and $(NAME)-pos.csv
This commit is contained in:
Werner Almesberger 2011-03-22 21:59:13 -03:00
parent ee4c70b95f
commit 8885467617

View File

@ -21,7 +21,8 @@
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
CPTX = ../../eda-tools/mlztx/cptx
GMERGE = ../../eda-tools/fab/gmerge
PRETTYGERBV=../../eda-tools/fab/prettygerbv
PRETTYGERBV = ../../eda-tools/fab/prettygerbv
POS2FAB = ../../eda-tools/fab/pos2fab
DIR = $(shell pwd | sed 's|.*/||')
@ -108,7 +109,11 @@ gerbv:
$(NAME)-Back.gbl
$(NAME)Front.pos:
pcbnew --pos --origin=abs $(BRD)
pcbnew --pos $(BRD)
$(NAME)-pos.csv: $(NAME)Front.pos $(NAME).cmp
$(POS2FAB) $(NAME)Front.pos $(NAME).cmp >$@ || \
{ rm -f "$@"; exit 1; }
upload:
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
@ -133,6 +138,7 @@ clean::
rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
rm -f overview.png
rm -f $(NAME)Front.pos $(NAME)-pos.csv
spotless:: clean
rm -f '$$'savepcb.000 '$$'savepcb.brd