X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=3de97354b8be2b3eb7c221ea573630003134b6a6;hb=d94722713ebd7bbdbf8b284b7563f2dd17964e24;hp=781cdec759cef88b2a03ecae617811e5bdba6127;hpb=45f944b907acf5c8aeb6bca72c8932ea3ead258e;p=fio.git diff --git a/Makefile b/Makefile index 781cdec7..3de97354 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,10 @@ config-host-mak: configure @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh else config-host.mak: +ifneq ($(MAKECMDGOALS),clean) @echo "Running configure for you..." @./configure +endif all: include config-host.mak endif @@ -32,7 +34,8 @@ SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \ memalign.c server.c client.c iolog.c backend.c libfio.c flow.c \ cconv.c lib/prio_tree.c json.c lib/zipf.c lib/axmap.c \ lib/lfsr.c gettime-thread.c helpers.c lib/flist_sort.c \ - lib/hweight.c lib/getrusage.c idletime.c td_error.c + lib/hweight.c lib/getrusage.c idletime.c td_error.c \ + profiles/tiobench.c profiles/act.c io_u_queue.c ifdef CONFIG_64BIT_LLP64 CFLAGS += -DBITS_PER_LONG=32 @@ -88,7 +91,7 @@ endif ifeq ($(CONFIG_TARGET_OS), Linux) SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c engines/sg.c \ - engines/binject.c profiles/tiobench.c + engines/binject.c LIBS += -lpthread -ldl LDFLAGS += -rdynamic endif