title: simple make file using vpath is not working
body: <p>i wrote simple makefile using vpath</p>
  
  <pre><code>COMMON_CFLAGS = -Wall -O2 -DA2CSCC=0
  CFLAGS = $(COMMON_CFLAGS) -I/usr/include/ -I./ -std=gnu99 -g
  
  VPATH = ./test_app
  
  CC: LD_LIBRARY_PATH=./libs gcc
  
  SRC: test.c
  
  all: TARGET
  
  TARGET:
        $(CC) $(CFLAGS) $(SRC) -o test
  </code></pre>
  
  <p>It is giving undefined refrence to main. </p>
  
  <p>When i give directly</p>
  
  <blockquote>
    <p>TARGET:</p>
  
  <pre><code>       gcc test.c -o test
  </code></pre>
  </blockquote>
  
  <pre><code>gcc  test.c TARGET
  gcc: error: test.c: No such file or directory
  gcc: error: TARGET: No such file or directory
  gcc: fatal error: no input files
  compilation terminated.
  </code></pre>