www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/07/01/13:21:31

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] how to find sch-sym depenencies for Makefile
In-reply-to: <alpine.DEB.2.21.2107011817480.1114@nimbus>
References: <20210701152018 DOT F248283D521B AT turkos DOT aspodata DOT se> <alpine DOT DEB DOT 2 DOT 21 DOT 2107011817480 DOT 1114 AT nimbus>
Comments: In-reply-to Roland Lutz <rlutz AT hedmen DOT org>
message dated "Thu, 01 Jul 2021 18:21:45 +0200."
Mime-Version: 1.0
Message-Id: <20210701172006.BF4FB83D521B@turkos.aspodata.se>
Date: Thu, 1 Jul 2021 19:20:06 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Roland Lutz:
...
> 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

$ grep ^source top-1.sch 
source=smarc_iMX8MM_power_connection.sch
source=smarc_iMX8MM_power.sch
$ grep '^C ' top-1.sch | cut -f7 -d\  
A4liggande_s2.sym
source.sym
source.sym
$ gnetlist -o deps.mk -g makedepend top-1.sch  2>/dev/null
$ cat deps.mk 
top-1.sch: 
top.cir: top-1.sch 
$

Thanks, but it doesn't seem to do any good.

Regards,
/Karl Hammar

- Raw text -


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