Mail Archives: geda-user/2018/01/21/18:05:59
What's your favorite makefile rule for an output that comes from several input files?
Here's my drc, bom, and netlist rules for single page schematics:
=================drc, bom, and netlist rules=========================
drc: $(DRC)
$(DRC): %.drc: %.sch
gnetlist -g drc2 $< -o $@
bom: $(BOMS)
$(BOMS): %.bom.tsv: %.sch
gnetlist -g partslist3 $< -o $@
net: $(NETS) $(BOMS) $(DRC)
$(NETS): %.net: %.sch
gnetlist -g PCB $< -o $@
=================drc, bom, and netlist rules=========================
So, if you make a specific rule for a two pager schematic, is there a way to not create the
outputs for its single pages?
Here's a script I run by hand for the multipage schematic:
#!/bin/bash
gnetlist -g partslist3 pyflex_f401.sch pyflex_f401_boost.sch -o pyflex_f401_all.net
- Raw text -