summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 17:22:22 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-03 22:18:29 (GMT)
commit487c2ed78ba10bdd089009fe88f21fbc276ee3b2 (patch)
tree36e423b98d0af47bcd8783449a42dac248ba64b5 /Makefile
parentb987ddd5026d6e96f96475d2f380e121c40cad29 (diff)
downloadeeshow-487c2ed78ba10bdd089009fe88f21fbc276ee3b2.zip
eeshow-487c2ed78ba10bdd089009fe88f21fbc276ee3b2.tar.gz
eeshow-487c2ed78ba10bdd089009fe88f21fbc276ee3b2.tar.bz2
Makefile, sch2pdf, test/genpng: always use -o with eeplot, and prefix -
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 998e37a..93f1592 100644
--- a/Makefile
+++ b/Makefile
@@ -136,14 +136,14 @@ sch:
eeschema test.sch
test: eeplot
- ./eeplot test.lib test.sch -- fig >out.fig
+ ./eeplot test.lib test.sch -- fig -o out.fig
fig2dev -L png -m 2 out.fig _out.png
[ ! -r ref.png ] || \
compare -metric AE ref.png _out.png _diff.png || \
qiv -t -R -D _diff.png ref.png _out.png
testref: eeplot
- ./eeplot test.lib test.sch -- fig | \
+ ./eeplot test.lib test.sch -- fig -o fig:- | \
fig2dev -L png -m 2 >ref.png
png: eeplot
@@ -168,8 +168,7 @@ SHEET ?= 12
neo900: eeplot
./eeplot $(NEO900_HW)/neo900.lib \
$(KICAD_LIBS)/powered.lib \
- $(NEO900_HW)/neo900_SS_$(SHEET).sch \
- >out.fig
+ $(NEO900_HW)/neo900_SS_$(SHEET).sch -- fig -o out.fig
neo900.pdf: eeplot sch2pdf neo900-template.fig
./sch2pdf -o $@ -t neo900-template.fig \
@@ -202,8 +201,10 @@ leak: eediff
$(SUPP:%=--suppressions=%.supp) \
./eediff $(NEO900_HW)/neo900.pro -- \
diff $(NEO900_HW)/neo900.pro >/dev/null
-# ./eeplot -N 1 $(NEO900_HW)/neo900.pro -- pdf >/dev/null
-# ./eeplot -N 1 $(NEO900_HW)/neo900.pro -- png >/dev/null
+# ./eeplot -N 1 $(NEO900_HW)/neo900.pro \
+# -- pdf -o pdf:- >/dev/null
+# ./eeplot -N 1 $(NEO900_HW)/neo900.pro \
+# -- png -o png:- >/dev/null
#----- Install / uninstall ---------------------------------------------------