[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: gnetlist in a Makefile



Hello to all Makefile Gurus,

I use make to create a netlist from my schematic. I just introduced the 
fabulous drc2 to my flow. It looks like this:

> $(objects).cir: $(objects).sch $(objects).spc
>        gnetlist -g drc2 $(objects).sch -o $(objects).drc \
>        gnetlist -g spice-sdb $(objects).sch  -o $(objects).cir

I want make to stop when a ERROR in DRC appears.

Can anybody give me a hint, what's the best and easiest way to do this.


Thank's
Peter