Include engines in dependency check
authorJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:24:59 +0000 (11:24 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:24:59 +0000 (11:24 +0100)
Changing fio.h sometimes didn't trigger rebuild of the IO engines,
causing weird problems.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Makefile
Makefile.FreeBSD
Makefile.solaris

index 740a242..3a51af3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS) engines/*.o core.* core
 
 depend:
-       @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+       @$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c 1> .depend
 
 cscope:
        @cscope -b
index 5c85a0c..b877901 100644 (file)
@@ -21,7 +21,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS)
 
 depend:
-       @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+       @$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c 1> .depend
 
 cscope:
        @cscope -b
index 4373abf..1e82158 100644 (file)
@@ -21,7 +21,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS)
 
 depend:
-       @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+       @$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c 1> .depend
 
 cscope:
        @cscope -b