Sfoglia il codice sorgente

debug of the useless makefile

master
phyto 2 anni fa
parent
commit
efa4604e3a
2 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. +7
    -7
      Makefile
  2. +1
    -1
      fake-values.c

+ 7
- 7
Makefile Vedi 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 $@
# ---------------------------------------------

+ 1
- 1
fake-values.c Vedi 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;
}


Caricamento…
Annulla
Salva