title: Make: *** [] Error 1
body: <p>I've made a makefile and am trying to test it but am getting an error in make:</p>
  
  <pre><code>austins-macbook:work4 staffmember$ make new
  rm -f main.o heap.o heap
  gcc -Wall -O2   -c -o main.o main.c
  gcc -Wall -O2   -c -o heap.o heap.c
  heap.c: In function ‘createHeap’:
  heap.c:6: warning: implicit declaration of function ‘malloc’
  heap.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’
  heap.c:8: warning: implicit declaration of function ‘exit’
  heap.c:8: warning: incompatible implicit declaration of built-in function ‘exit’
  gcc -Wall -O2 -o heap main.o heap.o
  austins-macbook:work4 staffmember$ make test
  ./heap
  make: *** [test] Error 1
  </code></pre>
  
  <p>I thought that getting make <em>*</em> Error 1 meant that one of your components did not compile properly, however there weren't any error messages when I compiled it. How do I find out what the problem is?</p>