delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/07/30/22:19:00

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]" <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: <CAGBFkM1JhE=L-=pTD4KBU8i6_bsOvvox43KVRjavXji3vhTsJQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.00.1607310425290.7286@igor2priv>
References: <CAGBFkM1JhE=L-=pTD4KBU8i6_bsOvvox43KVRjavXji3vhTsJQ AT mail DOT gmail DOT com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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

  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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019