title: Makefile, Don't know how to make target
body: <p>I tried running the following Makefile </p>
  
  <pre><code>SRC=../src
  INC=../inc
  
  OBJS=$(SRC)/rrbsSimulator.o \
       $(SRC)/XMLParser.o
  
  ALLOBJS=rrbsSimulator.o \
          XMLParser.o
  
  CC=/usr/sfw/bin/gcc
  
  FLAGS= -Wall -g -m64
  
  AINC=-I$(INC)
  ALLLIBS=-lcc -lsocket -lnsl -lpthread -lstdc++
  
  %.o: %.cpp
     $(CC) $(AINC) $(FLAGS) -c $&lt;
  
  lcc: $(ALLOBJS)
     $(CC)  $(FLAGS) $(ALLLIBS) $(ALLOBJS) -o lycaUSSDSIM
     mv lycaUSSDSIM ../bin
  
  
  clean:
     rm -f $(ALLOBJS)  ../bin/lycaUSSDSIM
  </code></pre>
  
  <p>I am getting the following error </p>
  
  <pre><code>make: Fatal error: Don't know how to make target `rrbsSimulator.o'
  </code></pre>
  
  <p>What is the mistake I have done?</p>