From 2aed5153ca301016ad8b0930af1f1c5eadcce34f Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 23 Mar 2011 04:57:32 -0300 Subject: [PATCH] generate SMT fab package - makefiles/Makefile.kicad ($(NAME)-PCB_Edges.dxf, $(NAME).drl): since we now name the files explicitly, we need to generate them explicitly as well - makefiles/Makefile.kicad (upload): added SMT fab package - atben/Makefile (VERSION), atusb/Makefile (VERSION): bumped fab file version to 110323 --- atben/Makefile | 2 +- atusb/Makefile | 2 +- makefiles/Makefile.kicad | 14 +++++++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/atben/Makefile b/atben/Makefile index b41018b..c8c95ef 100644 --- a/atben/Makefile +++ b/atben/Makefile @@ -1,5 +1,5 @@ NAME = atben -VERSION = 110322 +VERSION = 110323 include ../makefiles/Makefile.kicad diff --git a/atusb/Makefile b/atusb/Makefile index 7d98f2c..77465a3 100644 --- a/atusb/Makefile +++ b/atusb/Makefile @@ -1,5 +1,5 @@ NAME = atusb -VERSION = 110322 +VERSION = 110323 include ../makefiles/Makefile.kicad diff --git a/makefiles/Makefile.kicad b/makefiles/Makefile.kicad index 52d9165..94a8905 100644 --- a/makefiles/Makefile.kicad +++ b/makefiles/Makefile.kicad @@ -101,9 +101,13 @@ $(GERBERS): $(NAME).brd Makefile fab: fab-pcb fab-smt -fab-pcb: $(PCB_FILES) +$(NAME)-PCB_Edges.dxf: $(NAME).brd pcbnew --plot=dxf --origin=aux -l PCB_Edges $(BRD) + +$(NAME).drl: $(NAME).brd pcbnew --drill --origin=aux $(BRD) + +fab-pcb: $(PCB_FILES) mkdir -p fab tar Ccfz .. fab/$(NAME)-pcb-$(VERSION).tar.gz \ $(PCB_FILES:%=$(DIR)/%) @@ -142,8 +146,12 @@ fab-smt: $(SMT_FILES) $(SMT_FILES:%=$(DIR)/%) upload: - qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \ - fab/$(NAME)-pcb-$(VERSION).zip wpan/fab + qippl \ + fab/$(NAME)-pcb-$(VERSION).tar.gz \ + fab/$(NAME)-pcb-$(VERSION).zip \ + fab/$(NAME)-smt-$(VERSION).tar.gz \ + fab/$(NAME)-smt-$(VERSION).zip \ + wpan/fab # --- Overview images ---------------------------------------------------------