X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com To: geda-user AT delorie DOT com From: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" Subject: [geda-user] makefile for multipage schematics Message-ID: Date: Sun, 21 Jan 2018 17:03:27 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com 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