From: Jens Axboe Date: Fri, 13 Apr 2012 12:06:08 +0000 (+0200) Subject: Ensure that init depends on FIO-VERSION-FILE X-Git-Tag: gfio-0.1~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=32d4cc615b518ad4e1ed24e0a2a34020679cea30;ds=inline Ensure that init depends on FIO-VERSION-FILE Signed-off-by: Jens Axboe --- diff --git a/Makefile b/Makefile index f8fbc700..fe22741e 100644 --- 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