title: make: cannot find makedepend
body: <p>I am trying to run the following makefile</p>
  
  <pre><code>CMDLINE_SRC=$(wildcard commandLine/*.c)
  CMDLINE_OBJS = $(CMDLINE_SRC:.c=.o)
  EXECUTABLES = $(CMDLINE_SRC:.c=)
  
  LIB_SRC=$(wildcard c/*.c)
  LIB_OBJ = $(LIB_SRC:.c=.o)
  LIB_OUT = lib/libclinrisk.a
  
  INCLUDES = -I include
  
  # compiler
  CC = gcc
  CCFLAGS = 
  LDFLAGS = 
  
  # library paths
  LIBS = -Llib -lclinrisk -lm
  
  .SUFFIXES: .c
  
  default: dep executables
  
  executables: $(EXECUTABLES)
      cp $(EXECUTABLES) executables
  
  $(EXECUTABLES): $(LIB_OUT)
  
  .c:
      $(CC) $(INCLUDES) $(LDFLAGS) $&lt; -o $@ $(LIBS)
  
  .c.o:
      $(CC) $(INCLUDES) $(CCFLAGS) -c $&lt; -o $@
  
  $(LIB_OUT): $(LIB_OBJ)
      ar rcs $(LIB_OUT) $(LIB_OBJ)
  
  depend: dep
  
  dep:
      makedepend -- $(CFLAGS) -- -I /usr/include/linux $(INCLUDES) $(LIB_SRC)
  
  clean:
      rm -f $(LIB_OBJ) $(LIB_OUT) Makefile.bak
      rm -f $(CMDLINE_OBJ) $(CMDLINE_PROGS) 
      rm -f executables/*
  
  # DO NOT DELETE
  </code></pre>
  
  <p>and getting the following error message:</p>
  
  <pre><code>$ make
  makedepend --  -- -M
  make: makedepend: Command not found
  make: *** [dep] Error 127
  </code></pre>
  
  <p>i gather that I may not have makedepend install as if I press tab after typing in make I get:</p>
  
  <pre><code>$ make &lt;TAB&gt;
  clean        default      dep          depend       executables  makefile
  </code></pre>
  
  <p>If it is so that I don't have makedepend installed, how do I install it and point </p>
  
  <pre><code>makedepend -- $(CFLAGS) -- -I /usr/include/linux $(INCLUDES) $(LIB_SRC)
  </code></pre>
  
  <p>at what it needs to point at?</p>
  
  <p>thanks!</p>
  
  <p>UPDATE: Davides answer has solved the problem...</p>
  
  <p>however I am now stuck with:</p>
  
  <pre><code>$ make
  makedepend --  -- -I /usr/include/linux -I include 
  cp  executables
  cp: missing destination file operand after `executables'
  Try `cp --help' for more information.
  make: *** [executables] Error 1
  </code></pre>
  
  <p>i suspect this a is a problem with the actual makefile....</p>