From a37bded35c66229ea830990ab313ca531fb94d4f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 7 Feb 2007 14:03:07 +0100 Subject: [PATCH] [PATCH] Improve dependency checking on builds From the similar fix for blktrace, from Vasily Tarasov . Signed-off-by: Jens Axboe --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7500030b..411dda06 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ prefix = /usr/local bindir = $(prefix)/bin libdir = $(prefix)/lib/fio -all: depend $(PROGS) $(SCRIPTS) +all: $(PROGS) $(SCRIPTS) fio: $(OBJS) $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -lm -ldl -laio -lrt @@ -37,6 +37,8 @@ depend: cscope: @cscope -b +$(PROGS): | depend + install: $(PROGS) $(SCRIPTS) $(INSTALL) -m755 -d $(DESTDIR)$(bindir) $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir) -- 2.25.1