[PATCH] fixup make warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Split the toplevel dep target to use normal make dependencies and use the
$(MAKE) var rather than hardcoding `make`.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 Makefile.in |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 90b92d0..89cbb5e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -26,9 +26,11 @@ SUBDIRS = src doc contrib
 
 all: do-all
 
-dep:
-	touch src/$(DEPFILE) # to prevent unecessary warnings
-	make -C src dep
+src/$(DEPFILE):
+	touch $@ # to prevent unecessary warnings
+
+dep: src/$(DEPFILE)
+	$(MAKE) -C src dep
 
 check: all
 
-- 
1.6.1.3

_______________________________________________
gpm mailing list
gpm@xxxxxxxxxxxxxx
http://lists.linux.it/listinfo/gpm

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]