This is my Makefile
# Makefile to build web server
CC = gcc # gcc = c compiler
CFLAGS = -std=c99 -ggdb3 -static -Wall -O3 -Werror
OBJECTS = webserver.o
# Build web server as exectuable called "make clean all" by typing "make clean all" in terminal
all: $(OBJECTS)
$(CC) $(CFLAGS) -o sysstatd # <============= THIS LINE DEFINITELY STARTS WITH TAB
webserver.o: webserver.c
clean:
rm -rf *.o sysstatd
And I get the following error:
Makefile:11: *** missing separator. Stop.