mirror of
https://github.com/garrettsworkshop/RAM2E.git
synced 2024-11-24 15:31:38 +00:00
Update Makefile
This commit is contained in:
parent
38c155d6b0
commit
9ad3a94263
12
Makefile
12
Makefile
@ -8,9 +8,9 @@ F_POS_N = $@/RAM2E-top-pos
|
||||
F_POS = $(F_POS_N).csv
|
||||
F_POS_VCORE = $(F_POS_N).VCORE.csv
|
||||
F_POS_JUMPER = $(F_POS_N).JUMPER.csv
|
||||
F_ZIP = RAM2E.4203B.$(CHIPTYPE)-gerber.zip
|
||||
F_SCHPDF = RAM2E.4203B.$(CHIPTYPE)-Schematic.pdf
|
||||
F_PCBPDF = RAM2E.4203B.$(CHIPTYPE)-Placement.pdf
|
||||
F_ZIP = $@/RAM2E.4203B.$(CHIPTYPE)-gerber.zip
|
||||
F_SCHPDF = $@/RAM2E.4203B.$(CHIPTYPE)-Schematic.pdf
|
||||
F_PCBPDF = $@/RAM2E.4203B.$(CHIPTYPE)-Placement.pdf
|
||||
|
||||
|
||||
OPT_GERBER = -l $(LAYERS) --subtract-soldermask --no-netlist --no-x2
|
||||
@ -21,8 +21,8 @@ CMD_DRILL = pcb export drill -o $@/ $(F_PCB)
|
||||
OPT_POS = --smd-only --units mm --side front --format csv
|
||||
CMD_POS = pcb export pos $(OPT_POS) -o $(F_POS) $(F_PCB)
|
||||
|
||||
CMD_SCHPDF = sch export pdf --black-and-white --no-background-color -o $@/$(F_SCHPDF) $(F_SCH)
|
||||
CMD_PCBPDF = pcb export pdf --black-and-white -l F.Fab,Edge.Cuts -o $@/$(F_PCBPDF) $(F_PCB)
|
||||
CMD_SCHPDF = sch export pdf --black-and-white --no-background-color -o $(F_SCHPDF) $(F_SCH)
|
||||
CMD_PCBPDF = pcb export pdf --black-and-white -l F.Fab,Edge.Cuts -o $(F_PCBPDF) $(F_PCB)
|
||||
|
||||
|
||||
.PHONY: all clean \
|
||||
@ -51,7 +51,7 @@ Hardware/MAX/gerber Hardware/LCMXO2/gerber:
|
||||
cp $(F_POS) $(F_POS_JUMPER)
|
||||
sed -i '' '/"R1"/d' $(F_POS_VCORE)
|
||||
sed -i '' '/"U9"/d' $(F_POS_JUMPER)
|
||||
zip -r $@/$(F_ZIP) $@/
|
||||
zip -r $(F_ZIP) $@/
|
||||
Hardware/MAX/Documentation Hardware/LCMXO2/Documentation:
|
||||
mkdir -p $@
|
||||
$(KICAD) $(CMD_SCHPDF)
|
||||
|
Loading…
Reference in New Issue
Block a user