Makefile doesn't find source files
<p>I have tried to make a makefile. I have the following folder structure.</p>

<pre><code>Source
  - include
     - My headerfiles
  - objects
     - The object files
  - src
     - My source files
</code></pre>

<p>My problem is that the source files in the src directory isn't found.</p>

<p>My make file looks as the following.</p>

<pre><code># gcc for C
# g++ for c++
CC = gcc

#compiler flags
# -g adds debugging information to the executebells
# -Wall
CFLAGS = -g -Wall

#target
TARGET = gabe_the_dog_server
#directory for the object files
OBJDIR = ./objects
SRCDIR = ./src

default: $(TARGET)
all: default

HEADERS = $(wildcard include/*.h)
OBJECTS  := $(SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o)

$(OBJDIR)/%.o: $(SRCDIR)/%.c $(HEADERS)
    $(CC) $(CFLAGS) -c $&lt; -o $@

$(TARGET): $(OBJECTS)
    $(CC) $(OBJECTS) $(CFLAGS) $(LIBS) -o $(OBJDIR)/$@

$(OBJECTS): $(OBJDIR)/%.o : $(SRCDIR)/%.c
    $(CC) $(CFLAGS) -c $&lt; -o $@

clean:
    -rm -f *.o
    -rm -f $(TARGET)
</code></pre>