Date:2011-03-23 06:18:18 (8 years 5 months ago)
Author:Werner Almesberger
Commit:ef6dd2805453f606755750878838518bbde93ca9
Message:makefiles/Makefile.kicad: fix dependency bugs

- Makefile.kicad (fab-pcb): add explicit dependency instead of "gerber"
- Makefile.kicad (fab-smt): depend on all files, not just the .csv files
- Makefile.kicad (clean): also remove $(NAME)-bom.csv
Files: makefiles/Makefile.kicad (3 diffs)

Change Details

makefiles/Makefile.kicad
9999
100100fab: fab-pcb fab-smt
101101
102fab-pcb: gerber
102fab-pcb: $(PCB_FILES)
103103        pcbnew --plot=dxf --origin=aux -l PCB_Edges $(BRD)
104104        pcbnew --drill --origin=aux $(BRD)
105105        mkdir -p fab
...... 
129129$(NAME)-bom.csv: ../bom/$(NAME)-bom.csv
130130        mv $< $@
131131
132fab-smt: $(NAME)-pos.csv $(NAME)-bom.csv
132fab-smt: $(SMT_FILES)
133133        mkdir -p fab
134134        tar Ccfz .. fab/$(NAME)-smt-$(VERSION).tar.gz \
135135          $(SMT_FILES:%=$(DIR)/%)
...... 
167167        rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
168168        rm -f $(NAME)-overview.png $(NAME)-front.png $(NAME)-back.png
169169        rm -f $(NAME)Front.pos $(NAME)-pos.csv
170        rm -f $(NAME)-bom.csv
170171
171172spotless:: clean
172173        rm -f '$$'savepcb.000 '$$'savepcb.brd

Archive Download the corresponding diff file



interactive