1
I am trying to run a Makefile that Compile programs in 'C'.
TARGET=client server 
CC= gcc
CFLAGS= -Wall -Wextra -g 
LDFLAGS = -lm -pthread -lncurses
DEPS = util.h
normal: $(TARGET)
client: client.c
    $(CC) $(CFLAGS) client.c -o client $(LDFLAGS)
server: server.c
    $(CC) $(CFLAGS) server.c -o server $(LDFLAGS)
clean:
    $(RM) $(TARGET)
But the following error is returned when running on the terminal (make client):
Makefile:9: *** missing separator. Stop.
It’s not "Missing separator"?
– Jefferson Quesado
the title is different from what you claim
– Jefferson Quesado
Yes, my mistake. It’s even Missing separator
– Kelve
You used spaces to determine the line of code to be executed?
– Jefferson Quesado