annotate sim-fpc-pasv/pcb/Makefile @ 84:dbd57e8dd82a default tip

sim-fpc-pasv/pcb: add Makefile for Gerber output
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Nov 2022 07:22:44 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 ALL= gerbers.zip
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 EXPARG=
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${ALL}
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 gerbers.d: sim-fpc-pasv.pcb
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 -rm -rf $@
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 mkdir $@
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 pcb -x gerber --gerberfile gerbers.d/simfpc ${EXPARG} sim-fpc-pasv.pcb
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 gerbers.zip: gerbers.d
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 -rm -f $@
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 cd gerbers.d; zip ../gerbers.zip *
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean:
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f *.ps *.pdf sim-fpc-pasv.pcb-
dbd57e8dd82a sim-fpc-pasv/pcb: add Makefile for Gerber output
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 rm -rf gerbers.*