projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Split out the memory handling from fio.c
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 80a0397502a91f464e30895db2c26c6913f42c6b..111d5cd464a2be7d3527cec2e8ca07432d8b4d03 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,9
@@
CC = gcc
CC = gcc
-CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS = -W
-W
all -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PROGS = fio
SCRIPTS = fio_generate_plots
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
INSTALL = install
prefix = /usr/local
INSTALL = install
prefix = /usr/local
@@
-15,8
+17,8
@@
CFLAGS += '-D_INST_PREFIX="$(FIO_INST_DIR)"'
all: depend $(PROGS) $(SCRIPTS)
$(MAKE) -C engines
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
- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -l
aio -lm -lrt
-ldl
+fio:
$(OBJS)
+ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -l
m
-ldl
clean:
-rm -f *.o .depend cscope.out $(PROGS) engines/*.o
clean:
-rm -f *.o .depend cscope.out $(PROGS) engines/*.o