From a5e4c2a92aa9a0739760152563179ce1e7d1e1a6 Mon Sep 17 00:00:00 2001 From: emard Date: Fri, 15 Feb 2019 11:26:56 +0100 Subject: [PATCH] spice makefile fixed --- spice/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spice/Makefile b/spice/Makefile index 6618ab4..35e53b7 100644 --- a/spice/Makefile +++ b/spice/Makefile @@ -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