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 740a2423283e31fa831832e2f5c69147abc27149..3a51af3417ee4e20652e86baee646e0a06db8ec7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS) engines/*.o core.* core
 
 depend:
        -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
 
 cscope:
        @cscope -b
index 5c85a0c35f878b4292360e64a9cd376b23f68255..b877901a2e43f639ccaf982818367167792d1ff1 100644 (file)
@@ -21,7 +21,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS)
 
 depend:
        -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
 
 cscope:
        @cscope -b
index 4373abfb9de09499e9b646f8572f1cac440a9291..1e82158f46ba3bcfb83981c0c49cb0042f7501d1 100644 (file)
@@ -21,7 +21,7 @@ clean:
        -rm -f *.o .depend cscope.out $(PROGS)
 
 depend:
        -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
 
 cscope:
        @cscope -b