Recent changes (master)

Jens Axboe
2015-11-26T13:00:06Z

The following changes since commit aab8901041d1bb548d58e3cb1038a19d73ecd094:

Fio 2.2.12 (2015-11-24 21:13:34 -0700)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 6a6b11f436c822cac154da5a60c4cc6baa6a8008:

Makefile: generate .d dep file for init.c (2015-11-25 21:24:01 -0700)

----------------------------------------------------------------
Jens Axboe (1):
Makefile: generate .d dep file for init.c

Makefile | 7 +++++++
1 file changed, 7 insertions(+)

---

Diff of recent changes:

diff --git a/Makefile b/Makefile
index 0b506e8..e30273c 100644
--- a/Makefile
+++ b/Makefile
@@ -324,7 +324,14 @@ parse.o: lex.yy.o y.tab.o
endif

init.o: init.c FIO-VERSION-FILE
+ @mkdir -p $(dir $@)
$(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
+ @$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d
+ @mv -f $*.d $*.d.tmp
+ @sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
+ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | \
+ sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
+ @rm -f $*.d.tmp

gcompat.o: gcompat.c gcompat.h
$(QUIET_CC)$(CC) $(CFLAGS) $(GTK_CFLAGS) $(CPPFLAGS) -c $<