Oh, please, merge me hardly !

Merge branch 'master' of ssh://tetalab.org:2213/tTh/DD2-monitor
This commit is contained in:
tth 2019-01-28 13:32:49 +01:00
commit 054d0f574c
3 changed files with 9 additions and 9 deletions

View File

@ -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 $@
# ---------------------------------------------

View File

@ -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;
}

View File

@ -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__