spice makefile fixed

pull/3/head
emard 5 years ago
parent 37ed38c8d6
commit a5e4c2a92a

@ -11,14 +11,17 @@ 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) < $<
$(SPICE) $<
clean:
rm -f *.raw *~ DEADJOE

Loading…
Cancel
Save