projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8423bd1
)
Ensure that init depends on FIO-VERSION-FILE
author
Jens Axboe
<axboe@kernel.dk>
Fri, 13 Apr 2012 12:06:08 +0000
(14:06 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 13 Apr 2012 12:06:57 +0000
(14:06 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Conflicts:
Makefile
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index c605d7ba83b8de803ffd9bc7a02884259e7d1ff6..61e2163fb604f254b1e84e846e8ee8a1e49182fd 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-107,6
+107,9
@@
CFLAGS += -DFIO_VERSION='"$(FIO_VERSION)"'
.c.o: .depend FORCE
$(QUIET_CC)$(CC) -o $@ -c $(CFLAGS) $(CPPFLAGS) $<
+init.o: FIO-VERSION-FILE
+ $(QUIET_CC)$(CC) -o init.o -c $(CFLAGS) $(CPPFLAGS) -c init.c
+
t/stest: $(T_SMALLOC_OBJS)
$(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_SMALLOC_OBJS) $(LIBS) $(LDFLAGS)