title: make: No targets. Stop
body: <p>make is working strangely on my Makefile. It gives error "No targets. Stop". When I write make clean, it writes: "No rule to make target clean."
  If i compile each file separately everything is fine. 
  Below is the code:</p>
  
  <pre><code>CC = g++
  CFLAGS = -g -Wall 
  BOOSTIP = -I path/to/boost
  default: abc
  all: abc
  abc: main.o node.o network.o   my_funs.o my_random.o
      $(CC) $(CFLAGS) $(BOOSTIP) main.o node.o network.o my_funs.o my_random.o -o abc  
  main.o: main.cpp node.hpp network.hpp 
      $(CC) $(CFLAGS) $(BOOSTIP) main.cpp -o main.o
  node.o: node.cpp node.hpp my_funs.hpp my_random.hpp 
      $(CC) $(CFLAGS) $(BOOSTIP) node.cpp -o node.o
  network.o: network.cpp network.hpp node.hpp my_funs.hpp my_random.hpp 
      $(CC) $(CFLAGS) $(BOOSTIP) network.cpp -o network.o
  my_funs.o: my_funs.cpp my_funs.hpp node.hpp my_random.hpp
      $(CC) $(CFLAGS) $(BOOSTIP) my_funs.cpp -o my_funs.o
  my_random.o: my_random.cpp my_random.hpp
      $(CC) $(CFLAGS) $(BOOSTIP)  my_random.cpp -o my_random.o
  clean:
      rm abc *.o *~
  </code></pre>