debug of the useless makefile

This commit is contained in:
phyto 2019-01-27 13:15:33 +01:00
parent 0846b3e433
commit efa4604e3a
2 changed files with 8 additions and 8 deletions

View File

@ -3,17 +3,17 @@
#
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;
}