www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/07/01/12:23:06

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 1 Jul 2021 18:21:45 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] how to find sch-sym depenencies for Makefile
In-Reply-To: <20210701152018.F248283D521B@turkos.aspodata.se>
Message-ID: <alpine.DEB.2.21.2107011817480.1114@nimbus>
References: <20210701152018 DOT F248283D521B AT turkos DOT aspodata DOT se>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
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

On Thu, 1 Jul 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> I want to have a program that finds dependencies between a .sch and the 
> .sch and .sym files it depends on, suitable for makefiles, to write 
> lines like:
>
> a.sch:	<somewhere>/a.sym <there>/b.sch ...

There is the `makedepend' backend.  It requires schematic file names to 
end in a dash and a page number (like `example-1.sch') and doesn't list 
symbol files, but it may be an appropriate starting point for what you are 
trying to do:

$ gnetlist -o deps.mk -g makedepend example-1.sch
Loading schematic [example-1.sch]
$ cat deps.mk
example-1.sch:
example.cir: example-1.sch

- Raw text -


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