[PATCH] blktrace.tex: add description of each possible action
[blktrace.git] / Makefile
index a3e23295110287533b53d65e42ded72d65e95440..dd2df571c19a33cd3f9802552776146072b51d8c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ docsclean:
        $(MAKE) -C doc clean
 
 depend:
-       @$(CC) -MM $(CFLAGS) *.[ch] 1> .depend
+       @$(CC) -MM $(CFLAGS) *.c 1> .depend
 
 clean: docsclean
        -rm -f *.o $(PROGS) .depend
@@ -35,4 +35,6 @@ install: $(PROGS) $(SCRIPTS)
        $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
        $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)
 
+ifneq ($(wildcard .depend),)
 include .depend
+endif