projects
/
electronics
/
tms-emulator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e706b7f
)
Added Makefile rule to generate gerber archive file.
author
Pat Thoyts
<patthoyts@users.sourceforge.net>
Thu, 1 Oct 2015 20:16:48 +0000
(21:16 +0100)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Thu, 1 Oct 2015 20:16:48 +0000
(21:16 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index b74294a548e2fd27f2a81e2d02945451304f4217..70d12856a79b745b76b4ed3af86d8e1732e54f07 100644
(file)
--- 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