瀏覽代碼

debug of the useless makefile

master
phyto 2 年之前
父節點
當前提交
efa4604e3a
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. +7
    -7
      Makefile
  2. +1
    -1
      fake-values.c

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

+ 1
- 1
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;
}


Loading…
取消
儲存