[PATCH] Improve dependency checking on builds
authorVasily Tarasov <vtaras@openvz.org>
Wed, 7 Feb 2007 13:02:03 +0000 (14:02 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 13:02:03 +0000 (14:02 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Makefile

index 8583f0d0a8f47a633575557e255023a1931c6274..bb5c7ef5ae89d805c24694098c76f83f706f7649 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ PROGS   = blkparse blktrace verify_blkparse blkrawverify
 LIBS   = -lpthread
 SCRIPTS        = btrace
 
-all: depend $(PROGS) $(SCRIPTS)
+all: $(PROGS) $(SCRIPTS)
        $(MAKE) -C btt
 
 %.o: %.c
@@ -23,6 +23,8 @@ verify_blkparse: verify_blkparse.o
 blkrawverify: blkrawverify.o
        $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^)
 
+$(PROGS): | depend
+
 docs:
        $(MAKE) -C doc all