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

@ -2,18 +2,18 @@
# must be run with gnu make # must be run with gnu make
# #
CC = gcc CC = gcc
CCOPT = -Wall -g
CCOPT = -Wall -g CLIB = core/libdd2m-core.a
all: essai fake-values all: essai fake-values
# --------------------------------------------- # ---------------------------------------------
essai: essai.c Makefile essai: essai.c Makefile $(CLIB)
gcc ${CCOPT} $< core/utils.o -o $@ $(CC) ${CCOPT} $< $(CLIB) -o $@
fake-values: fake-values.c Makefile fake-values: fake-values.c Makefile $(CLIB)
gcc ${CCOPT} $< core/utils.o -o $@ $(CC) ${CCOPT} $< $(CLIB) -o $@
# --------------------------------------------- # ---------------------------------------------

View File

@ -32,7 +32,7 @@ if (verbosity > 1) {
fprintf(stderr, "fake values - %s %s\n", __DATE__, __TIME__); 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; return 0;
} }