From: Pat Thoyts Date: Thu, 1 Oct 2015 20:16:48 +0000 (+0100) Subject: Added Makefile rule to generate gerber archive file. X-Git-Tag: v2.0.1~1 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=52660df8edf596653b1c231595d658bc39b45ac4;p=electronics%2Ftms-emulator Added Makefile rule to generate gerber archive file. --- diff --git a/Makefile b/Makefile index b74294a..70d1285 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,14 @@ $(NAME).bom: $(SCHEMAS) attribs drc: $(SCHEMAS) gnetlist -g drc2 -o /dev/stdout $^ +gerber: $(NAME).zip + +$(NAME).zip: $(NAME).pcb + pcb -x gerber --gerberfile "gerber/$(NAME)" --name-style hackvana $(NAME).pcb + zip -j $@ gerber/* + clean: -rm $(NAME).bom -rm $(NAME).new.pcb -.PHONY: drc bom update clean +.PHONY: drc bom update clean gerber