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

atben/Makefile: merge comment layer (component references) into silk screen

- Makefile (GMERGE, gerber): use "gmerge" to merge Comments (which now
  only contains the component references) into SilkS_Front
- Makefile (gerbv): Comments is now redundant; removed it
This commit is contained in:
Werner Almesberger 2011-03-15 01:16:44 -03:00
parent 83d47a8826
commit 528a577782

View File

@ -1,5 +1,6 @@
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
CPTX = ../../eda-tools/mlztx/cptx CPTX = ../../eda-tools/mlztx/cptx
GMERGE = ../../eda-tools/gerber/gmerge
NAME = atben NAME = atben
VERSION = 110314 VERSION = 110314
@ -48,6 +49,9 @@ gerber:
-l `pcbnew --list-layers $(NAME).brd | tr '\012' ,` \ -l `pcbnew --list-layers $(NAME).brd | tr '\012' ,` \
--fill-all-zones $(NAME).brd \ --fill-all-zones $(NAME).brd \
--exclude-pcb-edge --exclude-pcb-edge
$(GMERGE) $(NAME)-SilkS_Front.gto $(NAME)-Comments.gbr >_tmp \
|| { rm -rf _tmp; exit 1; }
mv _tmp $(NAME)-SilkS_Front.gto
fab: gerber fab: gerber
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
@ -59,8 +63,7 @@ fab: gerber
$(PCB_FILES:%=$(DIR)/%) $(PCB_FILES:%=$(DIR)/%)
gerbv: gerbv:
gerbv $(NAME)-Comments.gbr \ gerbv $(NAME)-SilkS_Front.gto \
$(NAME)-SilkS_Front.gto \
$(NAME)-SoldP_Front.gtp \ $(NAME)-SoldP_Front.gtp \
$(NAME)-Front.gtl \ $(NAME)-Front.gtl \
$(NAME)-Mask_Front.gts \ $(NAME)-Mask_Front.gts \