title: "Makefile circular dependency dropped" error
body: <p>I'm getting a makefile error when trying to run <strong>make client</strong> or <strong>make server</strong>. I've poked around looking for why this is, but I can't figure it out. Here's my makefile:</p>
  
  <pre><code>CC=g++
  CFLAGS=-c -std=c++11 -Wno-write-strings
  LDFLAGS=
  SOURCES= UDP_Client.cpp UDP_Server.cpp
  CSOURCES = cmain.cpp UDP_Client.cpp
  SSOURCES = smain.cpp UDP_Server.cpp
  OBJECTS=$(SOURCES:.cpp=.o)
  COBJECTS=$(CSOURCES:.cpp=.o)
  SOBJECTS=$(SSOURCES:.cpp=.o)
  EXECUTABLE=run
  CEXECUTABLE=client
  SEXECUTABLE=server
  
  
  all:
      @echo "Please specifiy client or server"
  
  client: $(CSOURCES) $(CEXECUTABLE)
  
  server: $(SSOURCES) $(SEXECUTABLE)
  
  $(EXECUTABLE): $(OBJECTS) 
      $(CC) $(LDFLAGS) $(OBJECTS) -o $@
  
  $(CEXECUTABLE): $(COBJECTS) 
      $(CC) $(LDFLAGS) $(COBJECTS) -o $@
  
  $(SEXECUTABLE): $(SOBJECTS) 
      $(CC) $(LDFLAGS) $(SOBJECTS) -o $@
  
  .cpp.o:
      $(CC) $(CFLAGS) $&lt; -o $@
  
  clean:
      rm *.o
  </code></pre>
  
  <p>And the errors I'm getting seem simple, but here's their actual text:</p>
  
  <pre><code>make: Circular client &lt;- client dependency dropped.
  </code></pre>