From: Vasily Tarasov Date: Wed, 7 Feb 2007 13:02:03 +0000 (+0100) Subject: [PATCH] Improve dependency checking on builds X-Git-Tag: blktrace-0.99.3~35 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fd977289b4b95ee2072d496ec90324ea9f62c1c7;p=blktrace.git [PATCH] Improve dependency checking on builds Signed-off-by: Jens Axboe --- diff --git a/Makefile b/Makefile index 8583f0d..bb5c7ef 100644 --- 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