X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 31 Jul 2016 04:26:18 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "gene glick (geneglick AT optonline DOT net) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] OT: gnu make In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1739305010-1469931978=:7286" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1739305010-1469931978=:7286 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 30 Jul 2016, gene glick (geneglick AT optonline DOT net) [via geda-user AT de= lorie.com] wrote: >I hope someone can help me out - stuck on this one . . . > >I am trying to write a pattern rule, something like this: > >%.obj : %.asm >=C2=A0=C2=A0=C2=A0=C2=A0 $(AS) $< > >But how do I get make to understand that each asm file has a different set >of dependencies? After that rule, you can also add dependency lines which don't have=20 commands: foo.obj: foo.asm gen.inc blobb.inc bar.obj: bar.asm baz.inc --0-1739305010-1469931978=:7286--