X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=7951751d9f95c3c9b91b786de5a3b083fee28647;hb=66eeb2963730871049b7d938c685188ef63d865a;hp=a3e215e291d226ed9c36ac0518d1816927d6c109;hpb=2953f5751ed8603b2f9ed89231a0dff6716ff151;p=fio.git diff --git a/Makefile b/Makefile index a3e215e2..7951751d 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ CC = gcc CFLAGS = -W -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PROGS = fio SCRIPTS = fio_generate_plots +OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \ + filesetup.o eta.o verify.o memory.o io_u.o parse.o INSTALL = install prefix = /usr/local @@ -15,7 +17,7 @@ CFLAGS += '-D_INST_PREFIX="$(FIO_INST_DIR)"' all: depend $(PROGS) $(SCRIPTS) $(MAKE) -C engines -fio: fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o filesetup.o eta.o verify.o +fio: $(OBJS) $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -lm -ldl clean: