diff boards/mv-sniffer/pcb/Makefile @ 15:609c6572f3d8

boards/mv-sniffer/pcb: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Aug 2023 03:03:41 +0000
parents boards/sim-fpc-pasv/pcb/Makefile@fbbafa93b52b
children
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.*