changeset 15:609c6572f3d8

boards/mv-sniffer/pcb: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Aug 2023 03:03:41 +0000
parents 54c3a277d64a
children 00229623ca81
files boards/mv-sniffer/pcb/Makefile
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/boards/mv-sniffer/pcb/Makefile	Mon Aug 21 03:03:41 2023 +0000
@@ -0,0 +1,17 @@
+ALL=	gerbers.zip
+EXPARG=
+
+all:	${ALL}
+
+gerbers.d:	mv-sniffer.pcb
+	-rm -rf $@
+	mkdir $@
+	pcb -x gerber --gerberfile gerbers.d/sniffer ${EXPARG} mv-sniffer.pcb
+
+gerbers.zip:	gerbers.d
+	-rm -f $@
+	cd gerbers.d; zip ../gerbers.zip *
+
+clean:
+	rm -f *.ps *.pdf mv-sniffer.pcb-
+	rm -rf gerbers.*