From efa4604e3a33596b751cf979bd21603fdb145f7c Mon Sep 17 00:00:00 2001 From: phyto Date: Sun, 27 Jan 2019 13:15:33 +0100 Subject: [PATCH 1/2] debug of the useless makefile --- Makefile | 14 +++++++------- fake-values.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c3b8d06..d43301d 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,18 @@ # must be run with gnu make # -CC = gcc - -CCOPT = -Wall -g +CC = gcc +CCOPT = -Wall -g +CLIB = core/libdd2m-core.a all: essai fake-values # --------------------------------------------- -essai: essai.c Makefile - gcc ${CCOPT} $< core/utils.o -o $@ +essai: essai.c Makefile $(CLIB) + $(CC) ${CCOPT} $< $(CLIB) -o $@ -fake-values: fake-values.c Makefile - gcc ${CCOPT} $< core/utils.o -o $@ +fake-values: fake-values.c Makefile $(CLIB) + $(CC) ${CCOPT} $< $(CLIB) -o $@ # --------------------------------------------- diff --git a/fake-values.c b/fake-values.c index 1bb7ba8..88c3d4c 100644 --- a/fake-values.c +++ b/fake-values.c @@ -32,7 +32,7 @@ if (verbosity > 1) { fprintf(stderr, "fake values - %s %s\n", __DATE__, __TIME__); } -printf("%.3f %d\n", dtime(), random1000(type)); +printf("%.3f %4d\n", dtime(), random1000(type)); return 0; } From 64a5e6853155ffdc43ac34b748adc46b69631b7f Mon Sep 17 00:00:00 2001 From: phyto Date: Sun, 27 Jan 2019 15:25:40 +0100 Subject: [PATCH 2/2] GOING PURE ASCII --- viz/gnuplot/plot-two.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viz/gnuplot/plot-two.sh b/viz/gnuplot/plot-two.sh index 207b559..fad3882 100755 --- a/viz/gnuplot/plot-two.sh +++ b/viz/gnuplot/plot-two.sh @@ -13,7 +13,7 @@ set output "${IMAGE}" set grid set title "Hourly average on the last ${NBLINES} samples" set xlabel "Heures" -set ylabel "Température" +set ylabel "Temperature" set yrange [ 5.0 : 30.0] plot "${TMPFILE}" with lines __EOC__