You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
222 B
20 lines
222 B
7 years ago
|
all: powersection.plot
|
||
|
|
||
|
#SPICE=spice3
|
||
|
#SCOPE=rlwrap nutmeg
|
||
|
|
||
|
SPICE=ngspice
|
||
|
SCOPE=rlwrap ngnutmeg
|
||
|
|
||
|
OBJS=switch.o
|
||
|
bin: switch.m
|
||
|
|
||
|
%.raw: %.spice
|
||
|
$(SPICE) < $< -r $@
|
||
|
|
||
|
%.plot: %.raw
|
||
|
$(SCOPE) $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.raw *~ DEADJOE
|