Date:2012-04-02 00:26:02 (7 years 2 months ago)
Author:Werner Almesberger
Commit:9ae2eb877b495f4cb1fc317fd3950de69c2e48f0
Message:makefiles/Makefile.kicad: updated for "new" command-line option names

Files: makefiles/Makefile.kicad (4 diffs)

Change Details

makefiles/Makefile.kicad
1818#
1919
2020
21PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
21PLOT_BRD = pcbnew --plot=ps --plot-fill-all-zones
2222CPTX = ../../eda-tools/mlztx/cptx
2323GMERGE = ../../eda-tools/fab/gmerge
2424DRL2GERBER = ../../eda-tools/fab/drl2gerber
...... 
7272#
7373
7474%-Front.ps: %.brd
75        $(PLOT_BRD) -l Front --mirror $<
75        $(PLOT_BRD) --layers=Front --plot-mirror $<
7676
7777%-Back.ps: %.brd
78        $(PLOT_BRD) -l Back $<
78        $(PLOT_BRD) --layers=Back $<
7979
8080# --- Industrial production ---------------------------------------------------
8181
...... 
9292gerber: $(GERBERS)
9393
9494$(GERBERS): $(NAME).brd Makefile
95        pcbnew --plot=gerber --origin=aux \
96          -l `pcbnew --list-layers $(BRD) | tr '\012' ,` \
97          --fill-all-zones --exclude-pcb-edge \
95        pcbnew --plot=gerber --plot-aux-origin \
96          --layers=`pcbnew --list-layers $(BRD) | tr '\012' ,` \
97          --plot-fill-all-zones --plot-exclude-edge \
9898          $(BRD)
9999        $(GMERGE) $(NAME)-SilkS_Front.gto $(NAME)-Comments.gbr >_tmp \
100100          || { rm -rf _tmp; exit 1; }
...... 
103103fab: fab-pcb fab-smt
104104
105105$(NAME)-PCB_Edges.dxf: $(NAME).brd
106        pcbnew --plot=dxf --origin=aux -l PCB_Edges $(BRD)
106        pcbnew --plot=dxf --plot-aux-origin --layers=PCB_Edges $(BRD)
107107
108108$(NAME).drl: $(NAME).brd
109        pcbnew --drill --origin=aux $(BRD)
109        pcbnew --drill --drill-aux-origin $(BRD)
110110
111111fab-pcb: $(PCB_FILES)
112112        mkdir -p fab

Archive Download the corresponding diff file



interactive