Ensure that init depends on FIO-VERSION-FILE
authorJens Axboe <axboe@kernel.dk>
Fri, 13 Apr 2012 12:06:08 +0000 (14:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Apr 2012 12:06:08 +0000 (14:06 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile

index f8fbc7000a72da404b918ad19dace50706f98baf..fe22741e940e51628934e2f3900e66dd9356fbda 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -114,6 +114,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
+
 gcompat.o: gcompat.c gcompat.h
        $(QUIET_CC)$(CC) $(CFLAGS) $(GTK_CFLAGS) $(CPPFLAGS) -c gcompat.c