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.

28 lines
462 B

#all: powersection-v17.plot
#all: powersection-v188.plot
all: powersection-v20.plot2
#SPICE=spice3
#SCOPE=rlwrap nutmeg
SPICE=ngspice
SCOPE=rlwrap ngnutmeg
OBJS=switch.o
bin: switch.m
# run spice in batch mode, generate raw waveform file
%.raw: %.spice
$(SPICE) < $< -r $@
# plot raw waveform file
%.plot: %.raw
$(SCOPE) $<
# running spice interactively, plot waveform from its .CONTROL card
%.plot2: %.spice
$(SPICE) $<
clean:
rm -f *.raw *~ DEADJOE