diff lcdtest1/pcb/Makefile @ 0:0f9bdd60ce50

fc-small-hw separated from old freecalypso-schem repo
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Oct 2019 00:53:38 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lcdtest1/pcb/Makefile	Mon Oct 21 00:53:38 2019 +0000
@@ -0,0 +1,25 @@
+ALL=	gerbers.zip lcdtest1_pcb.ps lcdtest1_pcb.pdf
+EXPARG=	--fab-author 'Harhan Engineering Co.'
+
+all:	${ALL}
+
+.SUFFIXES:	.ps .pdf
+
+.ps.pdf:
+	ps2pdf $*.ps
+
+lcdtest1_pcb.ps:	lcdtest1.pcb
+	pcb -x ps --psfile $@ ${EXPARG} lcdtest1.pcb
+
+gerbers.d:	lcdtest1.pcb
+	-rm -rf $@
+	mkdir $@
+	pcb -x gerber --gerberfile gerbers.d/lcdtest1 ${EXPARG} lcdtest1.pcb
+
+gerbers.zip:	gerbers.d
+	-rm -f $@
+	cd gerbers.d; zip ../gerbers.zip *
+
+clean:
+	rm -f *.ps *.pdf lcdtest1.pcb-
+	rm -rf gerbers.*